summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-07-10 10:52:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:32 -0500
commit4109f7d0692407a700b301e9dd787eb68ed96604 (patch)
tree45a6fec63dd121e16c05bfa7cfb5d68988086565 /source4/include
parentb7c6b20c37b4e44f6d6cb60bff187e76ac6c4b9b (diff)
downloadsamba-4109f7d0692407a700b301e9dd787eb68ed96604.tar.gz
samba-4109f7d0692407a700b301e9dd787eb68ed96604.tar.bz2
samba-4109f7d0692407a700b301e9dd787eb68ed96604.zip
r8288: The SMB_ASSERT_ARRAY macro isn't used anymore.
(This used to be commit aab24385ab736f4072e25ad5702ee0aaf4192ecc)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/smb_macros.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/include/smb_macros.h b/source4/include/smb_macros.h
index 23b1fd1a4e..aee2adf38f 100644
--- a/source4/include/smb_macros.h
+++ b/source4/include/smb_macros.h
@@ -44,8 +44,6 @@
DEBUG(0,("PANIC: assert failed at %s(%d)\n", __FILE__, __LINE__)); \
smb_panic("assert failed"); }} while (0)
-#define SMB_ASSERT_ARRAY(a,n) SMB_ASSERT((sizeof(a)/sizeof((a)[0])) >= (n))
-
/* REWRITE TODO: remove these smb_xxx macros */
#define smb_buf(buf) (((char *)(buf)) + MIN_SMB_SIZE + CVAL(buf,HDR_WCT+4)*2)
@@ -75,5 +73,4 @@
#define SAFE_FREE(x) do { if ((x) != NULL) {free(discard_const_p(void *, (x))); (x)=NULL;} } while(0)
#endif
-
#endif /* _SMB_MACROS_H */