diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-02-05 20:12:23 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-02-07 01:11:07 +0100 |
commit | 8f6d7d6cbf6c1443533e02dc7349c796785f90b7 (patch) | |
tree | 8e1727b17c89caef591580cdc8e027546feda989 /lib | |
parent | a05a9101b69250bde49e365fef74af08497ab6fd (diff) | |
download | samba-8f6d7d6cbf6c1443533e02dc7349c796785f90b7.tar.gz samba-8f6d7d6cbf6c1443533e02dc7349c796785f90b7.tar.xz samba-8f6d7d6cbf6c1443533e02dc7349c796785f90b7.zip |
loadparm: handle P_SEP in switches (silences warning with clang).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/param/loadparm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index ef1e7d9e47..44a33295d5 100644 --- 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; } |