summaryrefslogtreecommitdiffstats
path: root/source4/param
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-09-20 14:32:52 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-09-20 18:43:06 +0200
commit5347074c4e458e077e2833170e2b122494037552 (patch)
tree27985c10e7e21aceb3b8621868a375d1519c22ee /source4/param
parent8dda773bd7eea1d163282b1f3c5e90cbff8a1003 (diff)
downloadsamba-5347074c4e458e077e2833170e2b122494037552.tar.gz
samba-5347074c4e458e077e2833170e2b122494037552.tar.xz
samba-5347074c4e458e077e2833170e2b122494037552.zip
s4:param/pyparam.c - suppress "P_SEP" compilation warning
Reviewed-by: Jelmer
Diffstat (limited to 'source4/param')
-rw-r--r--source4/param/pyparam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/param/pyparam.c b/source4/param/pyparam.c
index 663ed84fbd..d5049d7d66 100644
--- a/source4/param/pyparam.c
+++ b/source4/param/pyparam.c
@@ -143,8 +143,8 @@ static PyObject *py_lp_ctx_get_helper(struct loadparm_context *lp_ctx, const cha
PyString_FromString(strlist[j]));
return pylist;
}
-
- break;
+ case P_SEP:
+ return NULL; /* this stands for a separator, can be ignored */
}
return NULL;