From 752f58a1e01434fdf977da8e0f7f7c76f5a57e7c Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Sat, 4 Aug 2018 10:31:42 +0300 Subject: [PATCH] Suppress unused variable warning in release builds --- 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(); }