mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 18:05:39 +00:00
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>
This commit is contained in:
parent
e4faa2ab05
commit
4ea4d1bb39
|
@ -78,6 +78,8 @@ handle_key(const struct config_key *key, const char *value)
|
|||
assert(0);
|
||||
break;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue