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:
parent
efc60d52a3
commit
bd62a802f9
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue