summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-13 05:02:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:09 -0500
commit15ec1f8f00500e8d4a382371c21af4141a75772e (patch)
tree8900d5256028b291d3d9e29c09680f2231d17737 /source4
parent250dc086bff0c9f86c799f3718ca38cbb6636962 (diff)
downloadsamba-15ec1f8f00500e8d4a382371c21af4141a75772e.tar.gz
samba-15ec1f8f00500e8d4a382371c21af4141a75772e.tar.bz2
samba-15ec1f8f00500e8d4a382371c21af4141a75772e.zip
r14296: added an abort() to SMB_ASSERT() so that static analysers know it doesn't return
(This used to be commit 72334813087740cba42973bdf787d96d2d140bad)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/util/util.h2
1 files changed, 1 insertions, 1 deletions
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