lib: Remove two unused macros
authorVolker Lendecke <vl@samba.org>
Wed, 12 Oct 2022 19:27:32 +0000 (21:27 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 27 Oct 2022 18:18:36 +0000 (18:18 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/include/smb_macros.h

index 8271dbddfce26493e4d6dc0e8cb6af24ebfd6936..0f44d1402a859628fdf3a5b35911903646a42c3a 100644 (file)
 #define IS_DOS_SYSTEM(test_mode)   (((test_mode) & FILE_ATTRIBUTE_SYSTEM) != 0)
 #define IS_DOS_HIDDEN(test_mode)   (((test_mode) & FILE_ATTRIBUTE_HIDDEN) != 0)
 
-#define SMB_WARN(condition, message) \
-    ((condition) ? (void)0 : \
-     DEBUG(0, ("WARNING: %s: %s\n", #condition, message)))
-
-#define SMB_ASSERT_ARRAY(a,n) SMB_ASSERT((sizeof(a)/sizeof((a)[0])) >= (n))
-
 /* these are useful macros for checking validity of handles */
 #define IS_IPC(conn)       ((conn) && (conn)->ipc)
 #define IS_PRINT(conn)       ((conn) && (conn)->printer)