mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Silence warnings in the release build
Swift SVN r5950
This commit is contained in:
@@ -1006,6 +1006,7 @@ void Serializer::writeAllDeclsAndTypes() {
|
||||
|
||||
DeclID id = DeclIDs[next];
|
||||
assert(id != 0 && "decl or type not referenced properly");
|
||||
(void)id;
|
||||
|
||||
auto &offsets = next.isDecl() ? DeclOffsets : TypeOffsets;
|
||||
assert((id - 1) == offsets.size());
|
||||
|
||||
Reference in New Issue
Block a user