summaryrefslogtreecommitdiff
path: root/seq
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-02-05 00:12:21 -0800
committerTakashi Iwai <tiwai@suse.de>2020-02-10 12:39:43 +0100
commitcb47f6dcf4200c64559ed2f008cabf8cc5f9d9a3 (patch)
treeb417354597cdcc55f5299ffc57dee20297b24ff9 /seq
parent646b3b1c0badbfd1b2ea7b82eb59d43a460c531c (diff)
downloadalsa-utils-cb47f6dcf4200c64559ed2f008cabf8cc5f9d9a3.tar.gz
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>
Diffstat (limited to 'seq')
-rw-r--r--seq/aplaymidi/aplaymidi.c2
-rw-r--r--seq/aplaymidi/arecordmidi.c2
-rw-r--r--seq/aseqdump/aseqdump.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/seq/aplaymidi/aplaymidi.c b/seq/aplaymidi/aplaymidi.c
index b086e70..e8491e1 100644
--- a/seq/aplaymidi/aplaymidi.c
+++ b/seq/aplaymidi/aplaymidi.c
@@ -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;
diff --git a/seq/aplaymidi/arecordmidi.c b/seq/aplaymidi/arecordmidi.c
index 604cd0d..2034df7 100644
--- a/seq/aplaymidi/arecordmidi.c
+++ b/seq/aplaymidi/arecordmidi.c
@@ -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;
diff --git a/seq/aseqdump/aseqdump.c b/seq/aseqdump/aseqdump.c
index 578e06f..44ae3bb 100644
--- a/seq/aseqdump/aseqdump.c
+++ b/seq/aseqdump/aseqdump.c
@@ -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;