mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix some compiler warnings with asserts disabled
This commit is contained in:
@@ -363,6 +363,7 @@ public:
|
||||
lv.getSubstFormalType()).getObjectType();
|
||||
SILType actualTy = lv.getTypeOfRValue().getObjectType();
|
||||
assert(expectedTy == actualTy);
|
||||
(void) expectedTy;
|
||||
|
||||
// Reabstract back to the requirement pattern.
|
||||
if (actualTy != RequirementStorageType) {
|
||||
|
||||
Reference in New Issue
Block a user