aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-24 15:25:12 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-24 15:26:42 +0200
commit82c1183b806b14e3e80d97b015cf1c25ac583912 (patch)
tree45182ad4d36342cbe3d6cf2e5481237c8599fbde
parent48b1901a094efa5f9d387c55175320cdaeb165ad (diff)
Fix: C++ compilation warning using genskel
Unitialized struct member. Change-Id: Ib507aef4ceb459571b6bb70e5a879e1f34823a77 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--src/genskel/genskel.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/genskel/genskel.c b/src/genskel/genskel.c
index faebdb18..8b179aa3 100644
--- 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(