s4:param/pyparam.c - suppress "P_SEP" compilation warning
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 20 Sep 2011 12:32:52 +0000 (14:32 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Tue, 20 Sep 2011 16:43:06 +0000 (18:43 +0200)
Reviewed-by: Jelmer
source4/param/pyparam.c

index 663ed84fbdb24193c9b2ec13e61837e2f6b7422d..d5049d7d6602aa507f43310808cf4324140e5f06 100644 (file)
@@ -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;