From d1d2997b0efaadb9017b7bfe97c280fe9520e6dd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 28 Aug 2010 15:11:53 +0200 Subject: s3: Remove an unused macro --- source3/param/loadparm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index ad27233f9a..2981856cae 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -5361,8 +5361,6 @@ static char *lp_string(const char *s) bool fn_name(const struct share_params *p) {return(bool)(LP_SNUM_OK(p->service)? ServicePtrs[(p->service)]->val : sDefault.val);} #define FN_LOCAL_PARM_INTEGER(fn_name,val) \ int fn_name(const struct share_params *p) {return(LP_SNUM_OK(p->service)? ServicePtrs[(p->service)]->val : sDefault.val);} -#define FN_LOCAL_PARM_STRING(fn_name,val) \ - char *fn_name(const struct share_params *p) {return(lp_string((LP_SNUM_OK(p->service) && ServicePtrs[(p->service)]->val) ? ServicePtrs[(p->service)]->val : sDefault.val));} #define FN_LOCAL_CHAR(fn_name,val) \ char fn_name(const struct share_params *p) {return(LP_SNUM_OK(p->service)? ServicePtrs[(p->service)]->val : sDefault.val);} -- cgit