aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2001-09-15 03:31:17 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2001-09-15 03:31:17 +0800
commit3e92e7a0eb9944948e9d919b06ae5a0079cd119f (patch)
tree1c76e128e6c640f6df60d5e4e6044055c55a0cd8 /shell
parent1b26832f1402c6e5f40aadb7a95e323fb5dac326 (diff)
downloadgsoc2013-evolution-3e92e7a0eb9944948e9d919b06ae5a0079cd119f.tar
gsoc2013-evolution-3e92e7a0eb9944948e9d919b06ae5a0079cd119f.tar.gz
gsoc2013-evolution-3e92e7a0eb9944948e9d919b06ae5a0079cd119f.tar.bz2
gsoc2013-evolution-3e92e7a0eb9944948e9d919b06ae5a0079cd119f.tar.lz
gsoc2013-evolution-3e92e7a0eb9944948e9d919b06ae5a0079cd119f.tar.xz
gsoc2013-evolution-3e92e7a0eb9944948e9d919b06ae5a0079cd119f.tar.zst
gsoc2013-evolution-3e92e7a0eb9944948e9d919b06ae5a0079cd119f.zip
Removed unused variable.
* e-shell-importer.c (start_import): Removed unused variable. svn path=/trunk/; revision=12827
Diffstat (limited to 'shell')
-rw-r--r--shell/ChangeLog4
-rw-r--r--shell/e-shell-importer.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 41cdfff280..56a8088934 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,9 @@
2001-09-14 Ettore Perazzoli <ettore@ximian.com>
+ * e-shell-importer.c (start_import): Removed unused variable.
+
+2001-09-14 Ettore Perazzoli <ettore@ximian.com>
+
[Fix #8204 and the other bugs caused by allowing invocations on
the ::Shell interface to happen before the shell is actually fully
initialized. This is a lame hack and not a nice, complete
diff --git a/shell/e-shell-importer.c b/shell/e-shell-importer.c
index 71f6a76806..a419091198 100644
--- a/shell/e-shell-importer.c
+++ b/shell/e-shell-importer.c
@@ -358,9 +358,7 @@ start_import (const char *folderpath,
/* Only allow importing to /local */
localpath = "/" E_LOCAL_STORAGE_NAME "/";
if (strncmp (folderpath, localpath, strlen (localpath))) {
- char *message;
- e_notice (NULL, GNOME_MESSAGE_BOX_ERROR,
- _("You may only import to local folders"));
+ e_notice (NULL, GNOME_MESSAGE_BOX_ERROR, _("You may only import to local folders"));
return;
}