diff options
Diffstat (limited to 'vm/StdioConverter.cpp')
-rw-r--r-- | vm/StdioConverter.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vm/StdioConverter.cpp b/vm/StdioConverter.cpp index f420c4d13..d261687a8 100644 --- a/vm/StdioConverter.cpp +++ b/vm/StdioConverter.cpp @@ -196,6 +196,12 @@ static void* stdioConverterThreadStart(void* arg) /* change back for shutdown sequence */ dvmChangeStatus(NULL, THREAD_RUNNING); +#ifdef NDEBUG + // cc is used only in assert() statements -> not used in NDEBUG + // mode - causing variable defined but not used warning, + // breaking the build with -Werror + (void)cc; +#endif return NULL; } |