From 15ec1f8f00500e8d4a382371c21af4141a75772e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Mar 2006 05:02:30 +0000 Subject: r14296: added an abort() to SMB_ASSERT() so that static analysers know it doesn't return (This used to be commit 72334813087740cba42973bdf787d96d2d140bad) --- source4/lib/util/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/util/util.h b/source4/lib/util/util.h index 1dfd942dd3..318e497105 100644 --- a/source4/lib/util/util.h +++ b/source4/lib/util/util.h @@ -67,7 +67,7 @@ struct substitute_context; */ #define SMB_ASSERT(b) do { if (!(b)) { \ DEBUG(0,("PANIC: assert failed at %s(%d)\n", __FILE__, __LINE__)); \ - smb_panic("assert failed"); }} while (0) + smb_panic("assert failed"); abort(); }} while (0) /** * determine the lowest of two values -- cgit