1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3:torture: Use C99 initializer for cmd_set in vfstest

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
Andreas Schneider 2019-01-08 17:11:57 +01:00 committed by Andreas Schneider
parent 34ae8dc311
commit 78b45a4762

View File

@ -232,7 +232,7 @@ static NTSTATUS cmd_quit(struct vfs_state *vfs, TALLOC_CTX *mem_ctx, int argc, c
static struct cmd_set vfstest_commands[] = {
{ "GENERAL OPTIONS" },
{ .name = "GENERAL OPTIONS" },
{ "conf", cmd_conf, "Load smb configuration file", "conf <smb.conf>" },
{ "help", cmd_help, "Get help on commands", "" },
@ -242,12 +242,17 @@ static struct cmd_set vfstest_commands[] = {
{ "exit", cmd_quit, "Exit program", "" },
{ "quit", cmd_quit, "Exit program", "" },
{ NULL }
{ .name = NULL }
};
static struct cmd_set separator_command[] = {
{ "---------------", NULL, "----------------------" },
{ NULL }
{
.name = "---------------",
.description = "----------------------"
},
{
.name = NULL,
},
};