mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix errors and warnings building swift/SIL on Windows using MSVC
This commit is contained in:
@@ -303,7 +303,7 @@ AbstractionPattern::getTupleElementType(unsigned index) const {
|
||||
if (errorInfo.isErrorParameterReplacedWithVoid()) {
|
||||
if (paramIndex == errorParamIndex) {
|
||||
assert(isVoidLike(swiftEltType));
|
||||
(void) isVoidLike;
|
||||
(void)&isVoidLike;
|
||||
return AbstractionPattern(swiftEltType);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user