mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-18 03:35:57 +00:00
Enable warning C4189: local variable is initialized but not referenced
This commit is contained in:
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user