From b71e672caf4862e555dbe8f1edb06ee56f35bcf1 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Mon, 3 Sep 2018 18:37:47 +0300 Subject: [PATCH] Suppress unused variable warning in release builds (#611) --- src/collectionstack.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/collectionstack.h b/src/collectionstack.h index 2302786..ebdc587 100644 --- a/src/collectionstack.h +++ b/src/collectionstack.h @@ -28,6 +28,7 @@ class CollectionStack { } void PopCollectionType(CollectionType::value type) { assert(type == GetCurCollectionType()); + (void)type; collectionStack.pop(); }