mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00
Merge branch 'noreturn' of https://github.com/MaxKellermann/zeek
Minor formatting change in merge so [[noreturn]] is consistently on same line as function declarations. * 'noreturn' of https://github.com/MaxKellermann/zeek: threading/MsgThread: add [[noreturn]] to InternalError() Flare: add [[noreturn]] to bad_pipe_op() Obj: add [[noreturn]] attributes to Internal(), bad_ref() Reporter: add [[noreturn]] attribute to several methods
This commit is contained in:
commit
3996a54302
6 changed files with 18 additions and 8 deletions
|
@ -13,7 +13,7 @@ Flare::Flare()
|
|||
{
|
||||
}
|
||||
|
||||
static void bad_pipe_op(const char* which, bool signal_safe)
|
||||
[[noreturn]] static void bad_pipe_op(const char* which, bool signal_safe)
|
||||
{
|
||||
if ( signal_safe )
|
||||
abort();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue