summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-13 05:02:30 +0000
committerAndrew Tridgell <tridge@samba.org>2006-03-13 05:02:30 +0000
commit2f9af770e70e86df66d54cb97c2f494bbcb27d4f (patch)
tree6cf1d34fcec9b8798b96cd205f7da621ea6cbd41 /source
parentc67b331a0ba9ebbe6e145d7845b168e8177589dd (diff)
downloadsamba-2f9af770e70e86df66d54cb97c2f494bbcb27d4f.tar.gz
samba-2f9af770e70e86df66d54cb97c2f494bbcb27d4f.tar.xz
samba-2f9af770e70e86df66d54cb97c2f494bbcb27d4f.zip
r14296: added an abort() to SMB_ASSERT() so that static analysers know it doesn't return
Diffstat (limited to 'source')
-rw-r--r--source/lib/util/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/util/util.h b/source/lib/util/util.h
index 1dfd942dd30..318e4971057 100644
--- a/source/lib/util/util.h
+++ b/source/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