mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-25 00:27:39 +01:00
Fix plain return from main() in tests/test-async-sig.c
test-async-sig.c: In function 'main': test-async-sig.c:185:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type]
This commit is contained in:
parent
7b81113721
commit
9a6d921230
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ main (int argc, char **argv __attribute__((unused)))
|
|||
do_backtrace (0, (i++ % 100) == 0);
|
||||
if (nerrors > nerrors_max)
|
||||
{
|
||||
panic ("Too many errors (%d)\n", nerrors);
|
||||
fprintf (stderr, "Too many errors (%d)\n", nerrors);
|
||||
exit (-1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue