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:
parent
34ae8dc311
commit
78b45a4762
@ -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,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user