Mark assertion handler as dead.
This commit is contained in:
parent
7af46b7fdc
commit
75578d8a5c
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bzlib_private.h,v 1.1 2014/03/09 00:15:45 agc Exp $ */
|
||||
/* $NetBSD: bzlib_private.h,v 1.2 2014/03/11 17:20:23 joerg Exp $ */
|
||||
|
||||
|
||||
/*-------------------------------------------------------------*/
|
||||
|
@ -57,7 +57,7 @@ typedef unsigned short UInt16;
|
|||
|
||||
#ifndef BZ_NO_STDIO
|
||||
|
||||
void BZ2_bz__AssertH__fail ( int errcode );
|
||||
void BZ2_bz__AssertH__fail ( int errcode ) __dead;
|
||||
#define AssertH(cond,errcode) \
|
||||
{ if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
|
||||
|
||||
|
|
Loading…
Reference in New Issue