From: Volker Lendecke Date: Mon, 27 Apr 2020 10:22:53 +0000 (+0200) Subject: lib: Remove two unused macro definitions X-Git-Tag: ldb-2.2.0~751 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=78737c6869d3d797cac1e3696a201c3e2d276872;p=thirdparty%2Fsamba.git lib: Remove two unused macro definitions Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/include/smb_macros.h b/source3/include/smb_macros.h index 702be07aacd..90ec794a519 100644 --- a/source3/include/smb_macros.h +++ b/source3/include/smb_macros.h @@ -231,9 +231,7 @@ copy an IP address from one buffer to another #define SMB_MALLOC_ARRAY(type,count) (type *)malloc_array(sizeof(type),(count)) #define SMB_MEMALIGN_ARRAY(type,align,count) (type *)memalign_array(sizeof(type),align,(count)) #define SMB_REALLOC(p,s) Realloc((p),(s),True) /* Always frees p on error or s == 0 */ -#define SMB_REALLOC_KEEP_OLD_ON_ERROR(p,s) Realloc((p),(s),False) /* Never frees p on error or s == 0 */ #define SMB_REALLOC_ARRAY(p,type,count) (type *)realloc_array((p),sizeof(type),(count),True) /* Always frees p on error or s == 0 */ -#define SMB_REALLOC_ARRAY_KEEP_OLD_ON_ERROR(p,type,count) (type *)realloc_array((p),sizeof(type),(count),False) /* Never frees p on error or s == 0 */ #define SMB_CALLOC_ARRAY(type,count) (type *)calloc_array(sizeof(type),(count)) #define SMB_XMALLOC_P(type) (type *)smb_xmalloc_array(sizeof(type),1) #define SMB_XMALLOC_ARRAY(type,count) (type *)smb_xmalloc_array(sizeof(type),(count))