config-parser: add missing return for an error case

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>
dev
Pekka Paalanen 13 years ago
parent e4faa2ab05
commit 4ea4d1bb39
  1. 2
      shared/config-parser.c

@ -78,6 +78,8 @@ handle_key(const struct config_key *key, const char *value)
assert(0); assert(0);
break; break;
} }
return -1;
} }
int int

Loading…
Cancel
Save