config-parser: add missing return for an error case
authorPekka Paalanen <ppaalanen@gmail.com>
Fri, 30 Mar 2012 10:54:53 +0000 (13:54 +0300)
committerPekka Paalanen <ppaalanen@gmail.com>
Tue, 17 Apr 2012 11:33:30 +0000 (14:33 +0300)
Fixes
config-parser.c: In function 'handle_key':
config-parser.c:81: error: control reaches end of non-void function

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
shared/config-parser.c

index 10f6f12..5ffa466 100644 (file)
@@ -78,6 +78,8 @@ handle_key(const struct config_key *key, const char *value)
                assert(0);
                break;
        }
+
+       return -1;
 }
 
 int