libratbox/src/balloc.c: misc cleanup for compiler warning

balloc.c:111:1: warning: function '_rb_bh_fail' could be declared with
                attribute 'noreturn' [-Wmissing-noreturn]
This commit is contained in:
Aaron Jones 2017-07-31 05:12:30 +00:00
parent efc60d52a3
commit bd62a802f9
No known key found for this signature in database
GPG key ID: 8AF0737488AB3012

View file

@ -106,7 +106,7 @@ static HANDLE block_heap;
#define rb_bh_fail(x) _rb_bh_fail(x, __FILE__, __LINE__)
static void
static void __attribute__((noreturn))
_rb_bh_fail(const char *reason, const char *file, int line)
{
rb_lib_log("rb_heap_blockheap failure: %s (%s:%d)", reason, file, line);