aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xlopez@igalia.com>2011-04-20 16:14:05 +0800
committerXan Lopez <xlopez@igalia.com>2011-04-21 01:51:46 +0800
commit85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5 (patch)
treed42a54e25eda179c70d46f2b376b67f1d2d1b929 /embed
parenta78edd0144a01081ac254b40228c1b7c488df711 (diff)
downloadgsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.gz
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.bz2
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.lz
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.xz
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.tar.zst
gsoc2013-epiphany-85e3c2e1129a1d0d3d5dd0c1bdab883ea7b027b5.zip
Remove a few GCC 4.6.0 warnings
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-download.c2
-rw-r--r--embed/ephy-embed-prefs.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index 3a7d2d1ff..51f08ea84 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -148,7 +148,6 @@ decide_action_from_mime (EphyDownload *ephy_download)
SoupMessage *message;
char *mime_description = NULL;
GAppInfo *helper_app = NULL;
- EphyMimePermission mime_permission = EPHY_MIME_PERMISSION_SAFE;
EphyDownloadActionType action;
WebKitDownload *download;
@@ -163,7 +162,6 @@ decide_action_from_mime (EphyDownload *ephy_download)
if (content_type) {
mime_description = g_content_type_get_description (content_type);
helper_app = g_app_info_get_default_for_type (content_type, FALSE);
- mime_permission = ephy_file_check_mime (content_type);
if (helper_app)
action = EPHY_DOWNLOAD_ACTION_OPEN;
diff --git a/embed/ephy-embed-prefs.c b/embed/ephy-embed-prefs.c
index 3b035ab88..2d2973331 100644
--- a/embed/ephy-embed-prefs.c
+++ b/embed/ephy-embed-prefs.c
@@ -329,10 +329,8 @@ webkit_pref_callback_cookie_accept_policy (GSettings *settings,
gpointer data)
{
SoupSession *session;
- char *webkit_pref;
char *value = NULL;
- webkit_pref = data;
value = g_settings_get_string (settings, key);
if (value) {