From: Andreas Schneider Date: Wed, 9 Jan 2019 14:15:18 +0000 (+0100) Subject: s3:rpcclient: Use C99 initializer for cmd_set in cmd_fss X-Git-Tag: ldb-1.6.1~376 X-Git-Url: http://git.samba.org/samba.git/?p=vlendec%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=711cb035077b7e0677e69b9b38ecbdc4689bcf77 s3:rpcclient: Use C99 initializer for cmd_set in cmd_fss Signed-off-by: Andreas Schneider Reviewed-by: Douglas Bagnall --- diff --git a/source3/rpcclient/cmd_fss.c b/source3/rpcclient/cmd_fss.c index cfbaba3ccf3..1d7883ed4dc 100644 --- a/source3/rpcclient/cmd_fss.c +++ b/source3/rpcclient/cmd_fss.c @@ -684,7 +684,9 @@ static NTSTATUS cmd_fss_recov_complete(struct rpc_pipe_client *cli, /* List of commands exported by this module */ struct cmd_set fss_commands[] = { - { "FSRVP" }, + { + .name = "FSRVP", + }, { .name = "fss_is_path_sup", @@ -751,5 +753,7 @@ struct cmd_set fss_commands[] = { "allowing further shadow-copy requests", .usage = "", }, - { NULL } + { + .name = NULL, + }, };