Enable warning C4189: local variable is initialized but not referenced

This commit is contained in:
baldurk
2016-04-09 11:24:45 +02:00
parent 905e2ce0a2
commit cda0b4cb5a
8 changed files with 14 additions and 24 deletions
+1 -1
View File
@@ -105,7 +105,7 @@
#define RDCASSERTMSG(msg, ...) \
do { \
if(!(RDCASSERT_IFCOND(__VA_ARGS__))) { \
const char custommsg[] = msg; \
const char custommsg[] = msg; (void)custommsg; \
std::string assertmsg = "'" STRINGIZE(RDCASSERT_GETCOND(__VA_ARGS__)) "' "; \
if(sizeof(custommsg) > 1) assertmsg += msg " "; \
std::string failmsg; \