summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-03-15 02:43:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:57:21 -0500
commiteb6e6c0c14b4672554e46613638f04b1bd30cc34 (patch)
treee2d74b8b2b7d8d3b94f5b58595b25c45d020443c
parent72a7052fa76777390c3cb45e035e7d8c557af84d (diff)
downloadsamba-eb6e6c0c14b4672554e46613638f04b1bd30cc34.tar.gz
samba-eb6e6c0c14b4672554e46613638f04b1bd30cc34.tar.bz2
samba-eb6e6c0c14b4672554e46613638f04b1bd30cc34.zip
r14415: remove an unusued var
(This used to be commit b4172b53f3e01f518244ca80e07e351c7d51e282)
-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) {