1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-12-26 13:03:42 +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:
Tommi Rantala 2012-08-03 16:40:27 +03:00
parent 7b81113721
commit 9a6d921230

View file

@ -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);
}
}