From d2ef306a999add09fec5bea2298955c4b75df607 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 9 Aug 2000 19:49:29 +0000 Subject: Fixed some warnings. 2000-08-09 Christopher James Lahey * e-setup.c, e-shell.c: Fixed some warnings. svn path=/trunk/; revision=4661 --- shell/ChangeLog | 4 ++++ shell/e-setup.c | 1 - shell/e-shell.c | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shell/ChangeLog b/shell/ChangeLog index 505a5d8950..56dd6665a4 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,7 @@ +2000-08-09 Christopher James Lahey + + * e-setup.c, e-shell.c: Fixed some warnings. + 2000-08-09 Christopher James Lahey * e-shell-view.c: Fixed a warning. diff --git a/shell/e-setup.c b/shell/e-setup.c index 6ee7abcbb7..3393247f35 100644 --- a/shell/e-setup.c +++ b/shell/e-setup.c @@ -100,7 +100,6 @@ e_setup (const char *evolution_directory) { struct stat statinfo; char *file; - int i; if (stat (evolution_directory, &statinfo) != 0) return copy_default_stuff (evolution_directory); diff --git a/shell/e-shell.c b/shell/e-shell.c index 89ebe2f20e..6f00a43584 100644 --- a/shell/e-shell.c +++ b/shell/e-shell.c @@ -620,7 +620,7 @@ save_settings_for_views (EShell *shell) } prefix = g_strdup_printf ("=%s/config/Shell=/Views/NumberOfViews", - priv->local_directory, i); + priv->local_directory); gnome_config_set_int (prefix, g_list_length (priv->views)); g_free (prefix); -- cgit v1.2.3