summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-08-28 15:11:53 +0200
committerVolker Lendecke <vl@samba.org>2010-08-28 15:12:44 +0200
commitd1d2997b0efaadb9017b7bfe97c280fe9520e6dd (patch)
tree899134f04e134fc21688ab29f155b8d24e3ee1ca
parent0a8d49575c77e3ef84d6fa6d346035a2dfbc8039 (diff)
downloadsamba-d1d2997b0efaadb9017b7bfe97c280fe9520e6dd.tar.gz
samba-d1d2997b0efaadb9017b7bfe97c280fe9520e6dd.tar.bz2
samba-d1d2997b0efaadb9017b7bfe97c280fe9520e6dd.zip
s3: Remove an unused macro
-rw-r--r--source3/param/loadparm.c2
1 files changed, 0 insertions, 2 deletions
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);}