input: Avoid warnings on all-zero static struct entries.

This commit is contained in:
Bert Vermeulen 2014-08-26 12:38:41 +02:00
parent 7f5a036750
commit 06ad20bebf
4 changed files with 4 additions and 4 deletions

View File

@ -138,7 +138,7 @@ static int cleanup(struct sr_input *in)
static struct sr_option options[] = {
{ "numchannels", "Number of channels", "Number of channels", NULL, NULL },
{ "samplerate", "Sample rate", "Sample rate", NULL, NULL },
{ 0 }
ALL_ZERO
};
static struct sr_option *get_options(void)

View File

@ -150,7 +150,7 @@ static int cleanup(struct sr_input *in)
static struct sr_option options[] = {
{ "numchannels", "Number of channels", "Number of channels", NULL, NULL },
{ "samplerate", "Sample rate", "Sample rate", NULL, NULL },
{ 0 }
ALL_ZERO
};
static struct sr_option *get_options(void)

View File

@ -767,7 +767,7 @@ static struct sr_option options[] = {
{ "first-channel", "First channel", "Column number of first channel", NULL, NULL },
{ "header", "Header", "Treat first line as header with channel names", NULL, NULL },
{ "startline", "Start line", "Line number at which to start processing samples", NULL, NULL },
{ 0 }
ALL_ZERO
};
static struct sr_option *get_options(void)

View File

@ -524,7 +524,7 @@ static struct sr_option options[] = {
{ "skip", "Skip", "Skip until timestamp", NULL, NULL },
{ "downsample", "Downsample", "Divide samplerate by factor", NULL, NULL },
{ "compress", "Compress", "Compress idle periods longer than this value", NULL, NULL },
{ 0 }
ALL_ZERO
};
static struct sr_option *get_options(void)