mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-21 00:31:15 -03:00
First round of fixes based on cppcheck
https://github.com/fish-shell/fish-shell/issues/575
This commit is contained in:
@@ -112,11 +112,10 @@ void show_stackframe()
|
||||
return;
|
||||
|
||||
void *trace[32];
|
||||
char **messages = (char **)NULL;
|
||||
int i, trace_size = 0;
|
||||
|
||||
trace_size = backtrace(trace, 32);
|
||||
messages = backtrace_symbols(trace, trace_size);
|
||||
char **messages = backtrace_symbols(trace, trace_size);
|
||||
|
||||
if (messages)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user