diff options
author | Phong Tran <tranmanphong@gmail.com> | 2019-04-17 22:56:37 +0700 |
---|---|---|
committer | Phong Tran <tranmanphong@gmail.com> | 2019-04-17 23:14:45 +0700 |
commit | b369498c5188a6acd076ef480940cc8257005bad (patch) | |
tree | 6b6b1d089d8fdf0a52af5ebe451070066ab347bb /bindings/samples/AuthLogin.c | |
parent | 9cf1fcea338281f76eaac000930479b18dacef01 (diff) |
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 <tranmanphong@gmail.com>
Diffstat (limited to 'bindings/samples/AuthLogin.c')
-rw-r--r-- | bindings/samples/AuthLogin.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = |