mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:55:43 +01:00
Avoid empty initializer list
To zero-initialize an object, use `{0}` instead. Signed-off-by: Michael Forney <mforney@mforney.org> Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
646b3b1c0b
commit
cb47f6dcf4
5 changed files with 5 additions and 5 deletions
|
@ -58,7 +58,7 @@ static void parse_options(int argc, char *argv[])
|
|||
{ .name = "view", .has_arg = 1, .val = 'V' },
|
||||
{ .name = "no-color", .val = 'g' },
|
||||
{ .name = "abstraction", .has_arg = 1, .val = 'a' },
|
||||
{ }
|
||||
{ 0 }
|
||||
};
|
||||
int option;
|
||||
int card_index;
|
||||
|
|
|
@ -469,7 +469,7 @@ int main(int argc, char *argv[])
|
|||
{"active-sensing", 0, NULL, 'a'},
|
||||
{"clock", 0, NULL, 'c'},
|
||||
{"sysex-interval", 1, NULL, 'i'},
|
||||
{ }
|
||||
{0}
|
||||
};
|
||||
int c, err, ok = 0;
|
||||
int ignore_active_sensing = 1;
|
||||
|
|
|
@ -869,7 +869,7 @@ int main(int argc, char *argv[])
|
|||
{"list", 0, NULL, 'l'},
|
||||
{"port", 1, NULL, 'p'},
|
||||
{"delay", 1, NULL, 'd'},
|
||||
{}
|
||||
{0}
|
||||
};
|
||||
int c;
|
||||
int do_list = 0;
|
||||
|
|
|
@ -740,7 +740,7 @@ int main(int argc, char *argv[])
|
|||
{"metronome", 1, NULL, 'm'},
|
||||
{"timesig", 1, NULL, 'i'},
|
||||
{"num-events", 1, NULL, 'n'},
|
||||
{ }
|
||||
{0}
|
||||
};
|
||||
|
||||
char *filename = NULL;
|
||||
|
|
|
@ -357,7 +357,7 @@ int main(int argc, char *argv[])
|
|||
{"version", 0, NULL, 'V'},
|
||||
{"list", 0, NULL, 'l'},
|
||||
{"port", 1, NULL, 'p'},
|
||||
{ }
|
||||
{0}
|
||||
};
|
||||
|
||||
int do_list = 0;
|
||||
|
|
Loading…
Reference in a new issue