From b369498c5188a6acd076ef480940cc8257005bad Mon Sep 17 00:00:00 2001 From: Phong Tran Date: Wed, 17 Apr 2019 22:56:37 +0700 Subject: missing full initialization for struct afb_verb_v3 This is for fixing warning: missing field 'callback' initializer [-Wmissing-field-initializers] Change-Id: I6807ed25bff96c96f347ec1e87f1b12cf0759498 Signed-off-by: Phong Tran --- bindings/samples/DemoContext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/samples/DemoContext.c') diff --git a/bindings/samples/DemoContext.c b/bindings/samples/DemoContext.c index f1e90139..cb8e86f0 100644 --- a/bindings/samples/DemoContext.c +++ b/bindings/samples/DemoContext.c @@ -127,7 +127,7 @@ static const struct afb_verb_v3 verbs[]= { {.verb="check_loa_ge_1", .session=AFB_SESSION_LOA_1, .callback=clientCheckLOA ,.vcbdata=(void*)(intptr_t)1 ,.info="Check whether level of assurance is greater or equal to 1"}, {.verb="check_loa_ge_2", .session=AFB_SESSION_LOA_2, .callback=clientCheckLOA ,.vcbdata=(void*)(intptr_t)2 ,.info="Check whether level of assurance is greater or equal to 2"}, {.verb="check_loa_ge_3", .session=AFB_SESSION_LOA_3, .callback=clientCheckLOA ,.vcbdata=(void*)(intptr_t)3 ,.info="Check whether level of assurance is greater or equal to 3"}, - {NULL} + {0, 0, 0, 0, 0, 0, 0} }; const struct afb_binding_v3 afbBindingV3 = -- cgit 1.2.3-korg