input: Avoid warnings on all-zero static struct entries.
This commit is contained in:
parent
7f5a036750
commit
06ad20bebf
|
@ -138,7 +138,7 @@ static int cleanup(struct sr_input *in)
|
||||||
static struct sr_option options[] = {
|
static struct sr_option options[] = {
|
||||||
{ "numchannels", "Number of channels", "Number of channels", NULL, NULL },
|
{ "numchannels", "Number of channels", "Number of channels", NULL, NULL },
|
||||||
{ "samplerate", "Sample rate", "Sample rate", NULL, NULL },
|
{ "samplerate", "Sample rate", "Sample rate", NULL, NULL },
|
||||||
{ 0 }
|
ALL_ZERO
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct sr_option *get_options(void)
|
static struct sr_option *get_options(void)
|
||||||
|
|
|
@ -150,7 +150,7 @@ static int cleanup(struct sr_input *in)
|
||||||
static struct sr_option options[] = {
|
static struct sr_option options[] = {
|
||||||
{ "numchannels", "Number of channels", "Number of channels", NULL, NULL },
|
{ "numchannels", "Number of channels", "Number of channels", NULL, NULL },
|
||||||
{ "samplerate", "Sample rate", "Sample rate", NULL, NULL },
|
{ "samplerate", "Sample rate", "Sample rate", NULL, NULL },
|
||||||
{ 0 }
|
ALL_ZERO
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct sr_option *get_options(void)
|
static struct sr_option *get_options(void)
|
||||||
|
|
|
@ -767,7 +767,7 @@ static struct sr_option options[] = {
|
||||||
{ "first-channel", "First channel", "Column number of first channel", NULL, NULL },
|
{ "first-channel", "First channel", "Column number of first channel", NULL, NULL },
|
||||||
{ "header", "Header", "Treat first line as header with channel names", 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 },
|
{ "startline", "Start line", "Line number at which to start processing samples", NULL, NULL },
|
||||||
{ 0 }
|
ALL_ZERO
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct sr_option *get_options(void)
|
static struct sr_option *get_options(void)
|
||||||
|
|
|
@ -524,7 +524,7 @@ static struct sr_option options[] = {
|
||||||
{ "skip", "Skip", "Skip until timestamp", NULL, NULL },
|
{ "skip", "Skip", "Skip until timestamp", NULL, NULL },
|
||||||
{ "downsample", "Downsample", "Divide samplerate by factor", NULL, NULL },
|
{ "downsample", "Downsample", "Divide samplerate by factor", NULL, NULL },
|
||||||
{ "compress", "Compress", "Compress idle periods longer than this value", NULL, NULL },
|
{ "compress", "Compress", "Compress idle periods longer than this value", NULL, NULL },
|
||||||
{ 0 }
|
ALL_ZERO
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct sr_option *get_options(void)
|
static struct sr_option *get_options(void)
|
||||||
|
|
Loading…
Reference in New Issue