fix build with -warnings-are-errors
Change-Id: Ic8929ed77f0f2fa8ca7a8d7a91cfbe48918c2043 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
parent
b31e98d477
commit
a40379de1a
@ -118,7 +118,8 @@ static void stackTrace()
|
||||
"quit\n"
|
||||
"EOF\n",
|
||||
(int)getpid());
|
||||
system(cmd);
|
||||
if (system(cmd) == -1)
|
||||
fprintf(stderr, "calling gdb failed\n");
|
||||
fprintf(stderr, "========= End of stack trace ==============\n");
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user