]> sigrok.org Git - libsigrok.git/blobdiff - src/input/binary.c
input: Avoid warnings on all-zero static struct entries.
[libsigrok.git] / src / input / binary.c
index 11a3b4768f626b2566197e14d243636f809f6e2f..c2f9962c05518dc10e5bc8243c6143c56798e6ff 100644 (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)