Suppress unused variable warning in release builds

This commit is contained in:
Antony Polukhin 2018-08-04 10:31:42 +03:00 committed by GitHub
parent 1698b47b65
commit 752f58a1e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ class CollectionStack {
} }
void PopCollectionType(CollectionType::value type) { void PopCollectionType(CollectionType::value type) {
assert(type == GetCurCollectionType()); assert(type == GetCurCollectionType());
(void)type;
collectionStack.pop(); collectionStack.pop();
} }