svn commit: samba r14296 - in branches/SAMBA_4_0/source/lib/util: .

tridge at samba.org tridge at samba.org
Mon Mar 13 05:02:31 GMT 2006


Author: tridge
Date: 2006-03-13 05:02:30 +0000 (Mon, 13 Mar 2006)
New Revision: 14296

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14296

Log:

added an abort() to SMB_ASSERT() so that static analysers know it doesn't return


Modified:
   branches/SAMBA_4_0/source/lib/util/util.h


Changeset:
Modified: branches/SAMBA_4_0/source/lib/util/util.h
===================================================================
--- branches/SAMBA_4_0/source/lib/util/util.h	2006-03-13 05:01:58 UTC (rev 14295)
+++ branches/SAMBA_4_0/source/lib/util/util.h	2006-03-13 05:02:30 UTC (rev 14296)
@@ -67,7 +67,7 @@
  */
 #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



More information about the samba-cvs mailing list