From bce415edcae8e7af8327de8265d621f95fa5426f Mon Sep 17 00:00:00 2001 From: Ronny Chevalier Date: Sun, 6 Jul 2014 13:33:38 +0200 Subject: sysusers: fix uninitialized warning --- src/sysusers/sysusers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysusers/sysusers.c b/src/sysusers/sysusers.c index 1209a5a8b4..c0af69300a 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]; -- cgit v1.2.3-54-g00ecf