git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8dda773
)
s4:param/pyparam.c - suppress "P_SEP" compilation warning
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Tue, 20 Sep 2011 12:32:52 +0000
(14:32 +0200)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Tue, 20 Sep 2011 16:43:06 +0000
(18:43 +0200)
Reviewed-by: Jelmer
source4/param/pyparam.c
patch
|
blob
|
history
diff --git
a/source4/param/pyparam.c
b/source4/param/pyparam.c
index 663ed84fbdb24193c9b2ec13e61837e2f6b7422d..d5049d7d6602aa507f43310808cf4324140e5f06 100644
(file)
--- 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;