diff options
author | Glynn Foster <glynn.foster@sun.com> | 2003-06-04 12:53:46 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2003-06-04 12:53:46 +0000 |
commit | 65cb873430d7bfcdf0452c76bf07f2ebbb4a21af (patch) | |
tree | b5b12ffc2dda25da0678d04bff7ecafb8326e640 /src/main.c | |
parent | Updated Catalan translation. (diff) | |
download | zenity-65cb873430d7bfcdf0452c76bf07f2ebbb4a21af.tar.gz zenity-65cb873430d7bfcdf0452c76bf07f2ebbb4a21af.tar.bz2 zenity-65cb873430d7bfcdf0452c76bf07f2ebbb4a21af.zip |
Fix up some build warnings as reported by Ross Burton and his amazing gcc
2003-06-04 Glynn Foster <glynn.foster@sun.com>
* src/about.c, src/main.c, src/msg.c,
src/progress.c, src/tree.c, src/util.c: Fix up some build warnings
as reported by Ross Burton and his amazing gcc 3.3 techno machine.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -23,6 +23,7 @@ #include "config.h" #include "zenity.h" +#include <stdlib.h> #include <popt.h> #include <langinfo.h> @@ -986,10 +987,7 @@ zenity_free_parsing_options (void) { gint main (gint argc, gchar **argv) { - ZenityData *general; - ZenityCalendarData *cal_data; poptContext ctx; - gchar **args; gint nextopt, retval; bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); @@ -1020,11 +1018,12 @@ main (gint argc, gchar **argv) { gtk_init (&argc, &argv); /* - if (argc < 2) { - g_printerr (_("You must specify more arguments. See zenity --help for more details\n")); - zenity_free_parsing_options (); - exit (-1); - } */ + * if (argc < 2) { + * g_printerr (_("You must specify more arguments. See zenity --help for more details\n")); + * zenity_free_parsing_options (); + * exit (-1); + * } + */ switch (results->mode) { case MODE_CALENDAR: |