]> sigrok.org Git - libsigrok.git/blobdiff - src/output/ascii.c
Avoid warnings on all-zero static struct entries.
[libsigrok.git] / src / output / ascii.c
index 9f69d0076040ba7269745984c1bf5e6caed6322e..b6baab1b611308df45f2b80f009d25ba1222a430 100644 (file)
@@ -235,7 +235,7 @@ static int cleanup(struct sr_output *o)
 
 static struct sr_option options[] = {
        { "width", "Width", "Number of samples per line", NULL, NULL },
-       { 0 }
+       ALL_ZERO
 };
 
 static const struct sr_option *get_options(void)