aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2005-11-11 05:32:36 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2005-11-11 05:32:36 +0800
commitf38b7045271aa3b38a6dda357726091b413c1be0 (patch)
tree8343eb4c448c662ec9a6a81bc8ce5551e0a07a31
parent8fa636f36bf250aa729409de2d77c562f809eebc (diff)
downloadgsoc2013-epiphany-f38b7045271aa3b38a6dda357726091b413c1be0.tar
gsoc2013-epiphany-f38b7045271aa3b38a6dda357726091b413c1be0.tar.gz
gsoc2013-epiphany-f38b7045271aa3b38a6dda357726091b413c1be0.tar.bz2
gsoc2013-epiphany-f38b7045271aa3b38a6dda357726091b413c1be0.tar.lz
gsoc2013-epiphany-f38b7045271aa3b38a6dda357726091b413c1be0.tar.xz
gsoc2013-epiphany-f38b7045271aa3b38a6dda357726091b413c1be0.tar.zst
gsoc2013-epiphany-f38b7045271aa3b38a6dda357726091b413c1be0.zip
lib/ephy-file-helpers.c lib/widgets/ephy-location-entry.c
2005-11-10 Crispin Flowerday <gnome@flowerday.cx> * lib/ephy-file-helpers.c * lib/widgets/ephy-location-entry.c * src/ephy-session.c * src/bookmarks/ephy-bookmarks-import.c: Remove some unused variables
-rw-r--r--ChangeLog9
-rw-r--r--lib/ephy-file-helpers.c3
-rw-r--r--lib/widgets/ephy-location-entry.c1
-rw-r--r--src/bookmarks/ephy-bookmarks-import.c2
-rw-r--r--src/ephy-session.c2
5 files changed, 12 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 10da019ee..8aa0105e6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2005-11-10 Crispin Flowerday <gnome@flowerday.cx>
+
+ * lib/ephy-file-helpers.c
+ * lib/widgets/ephy-location-entry.c
+ * src/ephy-session.c
+ * src/bookmarks/ephy-bookmarks-import.c:
+
+ Remove some unused variables
+
2005-11-09 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
diff --git a/lib/ephy-file-helpers.c b/lib/ephy-file-helpers.c
index db8950f20..7a6669ee7 100644
--- a/lib/ephy-file-helpers.c
+++ b/lib/ephy-file-helpers.c
@@ -110,7 +110,7 @@ ephy_file_downloads_dir (void)
char *
ephy_file_get_downloads_dir (void)
{
- char *path = NULL, *download_dir, *home_dir, *expanded;
+ char *download_dir, *expanded;
download_dir = eel_gconf_get_string (CONF_STATE_DOWNLOAD_DIR);
@@ -136,6 +136,7 @@ ephy_file_get_downloads_dir (void)
/* Emergency download destination */
if (download_dir == NULL)
{
+ const char *home_dir;
home_dir = g_get_home_dir ();
download_dir = g_strdup (home_dir != NULL ? home_dir : "/");
}
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index c841f683c..2c5faeb44 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -745,7 +745,6 @@ favicon_drag_begin_cb (GtkWidget *widget,
GdkDragContext *context,
EphyLocationEntry *entry)
{
- EphyLocationEntryPrivate *priv = entry->priv;
GdkPixmap *pixmap;
pixmap = favicon_create_drag_pixmap (entry, widget);
diff --git a/src/bookmarks/ephy-bookmarks-import.c b/src/bookmarks/ephy-bookmarks-import.c
index c7cb2ba48..098a96d9d 100644
--- a/src/bookmarks/ephy-bookmarks-import.c
+++ b/src/bookmarks/ephy-bookmarks-import.c
@@ -665,7 +665,7 @@ ephy_bookmarks_import_mozilla (EphyBookmarks *bookmarks,
{
FILE *bf; /* bookmark file */
GString *name, *url;
- char *parsedname, *topic;
+ char *parsedname;
GList *folders = NULL;
if (eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_BOOKMARK_EDITING)) return FALSE;
diff --git a/src/ephy-session.c b/src/ephy-session.c
index 9bf357fe6..a31b53f9c 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -741,8 +741,6 @@ parse_embed (xmlNodePtr child,
EphyWindow *window,
EphySession *session)
{
- EphySessionPrivate *priv = session->priv;
-
while (child != NULL)
{
if (strcmp ((char *) child->name, "embed") == 0)