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/AuthLogin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bindings/samples/AuthLogin.c') diff --git a/bindings/samples/AuthLogin.c b/bindings/samples/AuthLogin.c index 851faecd..df001fd1 100644 --- a/bindings/samples/AuthLogin.c +++ b/bindings/samples/AuthLogin.c @@ -112,7 +112,7 @@ static const struct afb_verb_v3 verbs[]= { {.verb="refresh" , .session=AFB_SESSION_LOA_1 | AFB_SESSION_RENEW, .callback=clientContextRefresh,.info="Refresh Client Authentication Token"}, {.verb="check" , .session=AFB_SESSION_LOA_1 , .callback=clientContextCheck ,.info="Check Client Authentication Token"}, {.verb="logout" , .session=AFB_SESSION_LOA_1 | AFB_SESSION_CLOSE, .callback=clientContextLogout ,.info="Logout Client and Free resources"}, - {NULL} + {0, 0, 0, 0, 0, 0, 0} }; const struct afb_binding_v3 afbBindingV3 = -- cgit 1.2.3-korg