ecore_getopt: missing dummy initializer.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 31 Oct 2009 22:56:28 +0000 (22:56 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 31 Oct 2009 22:56:28 +0000 (22:56 +0000)
not real problem, but shut up warnings.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@43382 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore/Ecore_Getopt.h

index 5f0ac4b..a36c7a0 100644 (file)
@@ -309,9 +309,11 @@ extern "C" {
   {shortname, longname, help, NULL, ECORE_GETOPT_ACTION_STORE_CONST,   \
        {.store_const = value}}
 #define ECORE_GETOPT_STORE_TRUE(shortname, longname, help)              \
-  {shortname, longname, help, NULL, ECORE_GETOPT_ACTION_STORE_TRUE}
+  {shortname, longname, help, NULL, ECORE_GETOPT_ACTION_STORE_TRUE,    \
+       {.dummy = NULL}}
 #define ECORE_GETOPT_STORE_FALSE(shortname, longname, help)             \
-  {shortname, longname, help, NULL, ECORE_GETOPT_ACTION_STORE_FALSE}
+  {shortname, longname, help, NULL, ECORE_GETOPT_ACTION_STORE_FALSE,   \
+       {.dummy = NULL}}
 
 #define ECORE_GETOPT_CHOICE(shortname, longname, help, choices_array)   \
   {shortname, longname, help, NULL, ECORE_GETOPT_ACTION_CHOICE,                \