mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[+0-all-args] Add a missing +1 guard so this release doesn't happen with a +0 calling convention.
rdar://34222540
This commit is contained in:
committed by
Michael Gottesman
parent
ee68d4edb7
commit
f98fc84957
@@ -54,6 +54,6 @@ intptr_t _swift_stdlib_getDefaultErrorCode(OpaqueValue *error,
|
||||
}
|
||||
|
||||
// Destroy the value.
|
||||
T->vw_destroy(error);
|
||||
SWIFT_CC_PLUSONE_GUARD(T->vw_destroy(error));
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user