diff options
author | Gerald Carter <jerry@samba.org> | 2000-08-12 14:10:27 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2000-08-12 14:10:27 +0000 |
commit | 50cef4fa0d5ee9ac9ae6d5f41f88320bf02e9fb8 (patch) | |
tree | 4788f6334c699d7cdd5f4e54173e466ae323474c /source3 | |
parent | 69fc6695c5fedbb5aa1f036f8358ff329fee56b6 (diff) | |
download | samba-50cef4fa0d5ee9ac9ae6d5f41f88320bf02e9fb8.tar.gz samba-50cef4fa0d5ee9ac9ae6d5f41f88320bf02e9fb8.tar.bz2 samba-50cef4fa0d5ee9ac9ae6d5f41f88320bf02e9fb8.zip |
removed (void) typecast from SMB_ASSERT
jerry
(This used to be commit f806881e6c2c94c03fb7e70d92cd0a5a3fc30fbd)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/include/smb_macros.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index fe0d15149b..9fe7f26cb3 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -54,7 +54,7 @@ #define PTR_DIFF(p1,p2) ((ptrdiff_t)(((const char *)(p1)) - (const char *)(p2))) /* assert macros */ -#define SMB_ASSERT(b) ((b)?(void)0: \ +#define SMB_ASSERT(b) ((b)?0: \ (DEBUG(0,("PANIC: assert failed at %s(%d)\n", \ __FILE__, __LINE__)), smb_panic("assert failed"))) #define SMB_ASSERT_ARRAY(a,n) SMB_ASSERT((sizeof(a)/sizeof((a)[0])) >= (n)) |