mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 20:51:16 +00:00
Suppress unused variable warning in release builds (#611)
This commit is contained in:

committed by
Jesse Beder

parent
5e79f5eed3
commit
b71e672caf
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user