aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-setup.c1
-rw-r--r--shell/e-shell.c2
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,5 +1,9 @@
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
+ * e-setup.c, e-shell.c: Fixed some warnings.
+
+2000-08-09 Christopher James Lahey <clahey@helixcode.com>
+
* e-shell-view.c: Fixed a warning.
2000-08-09 Ettore Perazzoli <ettore@helixcode.com>
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);