]> git.ozlabs.org Git - ccan/blobdiff - ccan/opt/opt.h
opt: Fix -Wmissing-field-initializers warning
[ccan] / ccan / opt / opt.h
index 8796752a133f9f8d70854af0d99ba52af4d8b51c..a1adc41d2bfa6953067d41f3e5343f2a03398241 100644 (file)
@@ -79,7 +79,7 @@ struct opt_table;
  *
  * This must be the final element in the opt_table array.
  */
-#define OPT_ENDTABLE { NULL, OPT_END }
+#define OPT_ENDTABLE { NULL, OPT_END, NULL, NULL, NULL, NULL, NULL }
 
 /**
  * opt_register_table - register a table of options