summaryrefslogtreecommitdiff
path: root/src/misc
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc')
-rw-r--r--src/misc/hashtable.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/misc/hashtable.hpp b/src/misc/hashtable.hpp
index c7bb600da..13dadc01a 100644
--- a/src/misc/hashtable.hpp
+++ b/src/misc/hashtable.hpp
@@ -239,8 +239,7 @@ public:
/** non-const item search & removal */
void Pop(Titem_ &item)
{
- bool ret = TryPop(item);
- (void)ret; // assert only
+ [[maybe_unused]] bool ret = TryPop(item);
assert(ret);
}