# HG changeset patch # User Gaël PORTAY # Date 1430558782 -7200 # Node ID 93e1a0eb40ef0396df146754b987fbdeae767859 # Parent d144a6bece537c04101bd4e3e6e61ae90c8e3508 Uses abort() instead of raising a SIGABRT signal [-Werror] error: ‘noreturn’ function does return [-Werror] abort() is a noreturn function while raise() is not. And because crypt_argchk() is flagged as __attribute__(noreturn), abort() appears to be a better condidate. This compilation warning has probably been introduced by commit 1809f741cba865b03d4db5c4ba8c41364a55d6bc. diff -r d144a6bece53 -r 93e1a0eb40ef libtomcrypt/src/misc/crypt/crypt_argchk.c --- a/libtomcrypt/src/misc/crypt/crypt_argchk.c Sat May 02 11:37:37 2015 +0200 +++ b/libtomcrypt/src/misc/crypt/crypt_argchk.c Sat May 02 11:26:22 2015 +0200 @@ -21,7 +21,7 @@ { fprintf(stderr, "LTC_ARGCHK '%s' failure on line %d of file %s\n", v, d, s); - (void)raise(SIGABRT); + abort(); } #endif