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:
48b1901
)
Fix: C++ compilation warning using genskel
85/10685/2
author
Romain Forlot
<romain.forlot@iot.bzh>
Thu, 24 Aug 2017 13:25:12 +0000
(15:25 +0200)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Thu, 24 Aug 2017 13:26:42 +0000
(15:26 +0200)
Unitialized struct member.
Change-Id: Ib507aef4ceb459571b6bb70e5a879e1f34823a77
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/genskel/genskel.c
patch
|
blob
|
history
diff --git
a/src/genskel/genskel.c
b/src/genskel/genskel.c
index
faebdb1
..
8b179aa
100644
(file)
--- a/
src/genskel/genskel.c
+++ b/
src/genskel/genskel.c
@@
-651,7
+651,13
@@
void process(char *filename)
);
enum_verbs(print_struct_verb);
printf(
- " { .verb = NULL }\n"
+ " {\n"
+ " .verb = NULL,\n"
+ " .callback = NULL,\n"
+ " .auth = NULL,\n"
+ " .info = NULL,\n"
+ " .session = 0\n"
+ " }\n"
"};\n"
);
printf(