summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/param/loadparm.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source4/param/loadparm.c b/source4/param/loadparm.c
index b8445e2a8a..6cd87be733 100644
--- a/source4/param/loadparm.c
+++ b/source4/param/loadparm.c
@@ -2215,15 +2215,11 @@ static void dump_a_service(service * pService, FILE * f)
BOOL lp_dump_a_parameter(int snum, char *parm_name, FILE * f, BOOL isGlobal)
{
service * pService = ServicePtrs[snum];
- parm_class p_class;
- unsigned flag = 0;
struct parm_struct *parm;
void *ptr;
if (isGlobal) {
- p_class = P_GLOBAL;
flag = FLAG_GLOBAL;
- } else
- p_class = P_LOCAL;
+ }
parm = lp_parm_struct(parm_name);
if (!parm) {