From: Ronny Chevalier Date: Sun, 6 Jul 2014 11:33:38 +0000 (+0200) Subject: sysusers: fix uninitialized warning X-Git-Tag: v216~759 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=bce415edcae8e7af8327de8265d621f95fa5426f;p=elogind.git sysusers: fix uninitialized warning --- diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index 1209a5a8b..c0af69300 100644 --- a/src/sysusers/sysusers.c +++ b/src/sysusers/sysusers.c @@ -1312,6 +1312,8 @@ static int parse_line(const char *fname, unsigned line, const char *buffer) { h = groups; break; + default: + return -EBADMSG; } i->type = action[0];