git.samba.org
/
tridge
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a05a910
)
loadparm: handle P_SEP in switches (silences warning with clang).
author
Jelmer Vernooij
<jelmer@samba.org>
Sun, 5 Feb 2012 19:12:23 +0000
(20:12 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Tue, 7 Feb 2012 00:11:07 +0000
(
01:11
+0100)
lib/param/loadparm.c
patch
|
blob
|
history
diff --git
a/lib/param/loadparm.c
b/lib/param/loadparm.c
index ef1e7d9e47ed41fe3c60fc4511abf3fbe702f226..44a33295d5add385869bd2a4b6e65ab0088d71c3 100644
(file)
--- a/
lib/param/loadparm.c
+++ b/
lib/param/loadparm.c
@@
-2566,6
+2566,9
@@
static bool set_variable(TALLOC_CTX *mem_ctx, int parmnum, void *parm_ptr,
return false;
}
break;
+
+ case P_SEP:
+ break;
}
mark_non_default:
@@
-2968,6
+2971,8
@@
static bool is_default(struct loadparm_service *sDefault, int i)
case P_ENUM:
return parm_table[i].def.ivalue ==
*(int *)def_ptr;
+ case P_SEP:
+ break;
}
return false;
}