Fix a warning from sparse in popt.h (rhbz#202005)
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 27 Jun 2007 13:29:16 +0000 (16:29 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 27 Jun 2007 13:29:16 +0000 (16:29 +0300)
Patch from Kjartan Maraas.

popt/popt.h

index 663fd3b..e36e0db 100644 (file)
@@ -180,7 +180,7 @@ extern struct poptOption * poptHelpOptionsI18N;
 #define POPT_AUTOHELP { NULL, '\0', POPT_ARG_INCLUDE_TABLE, poptHelpOptions, \
                        0, "Help options:", NULL },
 
-#define POPT_TABLEEND { NULL, '\0', 0, 0, 0, NULL, NULL }
+#define POPT_TABLEEND { NULL, '\0', 0, NULL, 0, NULL, NULL }
 /*@}*/
 
 /** \ingroup popt