Skip to content

Commit 6c290af

Browse files
authored
use std::ignore to fix assert unused variable warnings (intel#382)
1 parent 81f5da0 commit 6c290af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

intercept/src/common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@
5050
} \
5151
}
5252
#else
53-
#define CLI_ASSERT(x)
53+
#include <tuple>
54+
#define CLI_ASSERT(x) std::ignore = (x)
5455
#endif
5556

5657
#if defined(_WIN32) || defined(__linux__) || defined(__FreeBSD__)

0 commit comments

Comments
 (0)