From 5347074c4e458e077e2833170e2b122494037552 Mon Sep 17 00:00:00 2001
From: Matthias Dieter Wallnöfer <mdw@samba.org>
Date: Tue, 20 Sep 2011 14:32:52 +0200
Subject: s4:param/pyparam.c - suppress "P_SEP" compilation warning

Reviewed-by: Jelmer
---
 source4/param/pyparam.c | 4 ++--
 1 file 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;
 
-- 
cgit