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