cppcheck fixes

This commit is contained in:
Laurent THOMAS
2021-03-26 16:32:20 +01:00
parent fc967bab3c
commit fbf39eecc1
10 changed files with 84 additions and 97 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ void display_backtrace(void) {
size_t i;
char *test=getenv("NO_BACKTRACE");
if (test!=0) *((int *)0)=0;
if (test!=0) abort();
size = backtrace(array, 10);
strings = backtrace_symbols(array, size);