Code Review
/
src
/
app-framework-binder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8aac4b8
)
afb-hook-flags: Fix a compilation warning
45/16345/1
author
Jose Bollo
<jose.bollo@iot.bzh>
Mon, 27 Aug 2018 11:19:19 +0000
(13:19 +0200)
committer
Jose Bollo
<jose.bollo@iot.bzh>
Mon, 27 Aug 2018 11:19:59 +0000
(13:19 +0200)
Change-Id: Ic9d1cc44ef1bbf6db4afe8eb7016b05f4cddb9a4
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
src/afb-hook-flags.c
patch
|
blob
|
history
diff --git
a/src/afb-hook-flags.c
b/src/afb-hook-flags.c
index
a2cb7ea
..
02ea3c8
100644
(file)
--- a/
src/afb-hook-flags.c
+++ b/
src/afb-hook-flags.c
@@
-216,7
+216,7
@@
static char *to_text(int value, struct flags flags)
{
int borrow = 0, mask = 0, i, v, imask;
size_t s = 0;
- char *result;
+ char *result
= NULL
;
if (!value)
return strdup("none");