projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4faa2a
)
config-parser: add missing return for an error case
author
Pekka Paalanen
<ppaalanen@gmail.com>
Fri, 30 Mar 2012 10:54:53 +0000
(13:54 +0300)
committer
Pekka 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
patch
|
blob
|
history
diff --git
a/shared/config-parser.c
b/shared/config-parser.c
index
10f6f12
..
5ffa466
100644
(file)
--- a/
shared/config-parser.c
+++ b/
shared/config-parser.c
@@
-78,6
+78,8
@@
handle_key(const struct config_key *key, const char *value)
assert(0);
break;
}
+
+ return -1;
}
int