summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-06-04 12:53:46 +0000
committerGlynn Foster <gman@src.gnome.org>2003-06-04 12:53:46 +0000
commit65cb873430d7bfcdf0452c76bf07f2ebbb4a21af (patch)
treeb5b12ffc2dda25da0678d04bff7ecafb8326e640 /src/main.c
parent3c6665af87c40e9c4c07a6c19e9432c1be125e6b (diff)
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.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/main.c b/src/main.c
index 2792d53..23c4721 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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: