diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ephy-file-helpers.c | 3 | ||||
-rw-r--r-- | lib/widgets/ephy-location-entry.c | 1 |
2 files changed, 2 insertions, 2 deletions
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); |