]> sigrok.org Git - libsigrok.git/blobdiff - src/output/bits.c
Avoid warnings on all-zero static struct entries.
[libsigrok.git] / src / output / bits.c
index 6b33f8d6534ec7dc23d6185c4d179b3d6e6c8a07..0a9ccc1a41d6f241fa003f9ea6ed5d07b198ac0a 100644 (file)
@@ -221,7 +221,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)