[epiphany] Removed unused variables
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Removed unused variables
- Date: Wed, 29 Jul 2020 15:11:20 +0000 (UTC)
commit 28e566c4a5e3d3fe9a6e11b0dcee721c9b8fd90a
Author: Jan-Michael Brummer <jan brummer tabos org>
Date: Wed Jul 29 16:49:38 2020 +0200
Removed unused variables
Fix compiler warnings shown with clang about unused variables
Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/issues/1280
embed/ephy-download.c | 1 -
embed/ephy-pdf-handler.c | 1 -
embed/ephy-web-view.c | 1 -
3 files changed, 3 deletions(-)
---
diff --git a/embed/ephy-download.c b/embed/ephy-download.c
index b78fefed6..b0bafb082 100644
--- a/embed/ephy-download.c
+++ b/embed/ephy-download.c
@@ -802,7 +802,6 @@ filename_suggested_cb (EphyDownload *download,
GtkWidget *filechooser;
WebKitDownload *webkit_download;
WebKitURIResponse *response;
- g_autofree gchar *sanitized_filename = NULL;
g_autofree gchar *type_text = NULL;
g_autofree gchar *from_text = NULL;
g_autofree gchar *content_length = NULL;
diff --git a/embed/ephy-pdf-handler.c b/embed/ephy-pdf-handler.c
index 8940a86b7..871d2487a 100644
--- a/embed/ephy-pdf-handler.c
+++ b/embed/ephy-pdf-handler.c
@@ -214,7 +214,6 @@ decide_destination_cb (WebKitDownload *wk_download,
static void
ephy_pdf_request_start (EphyPdfRequest *request)
{
- g_autoptr (SoupURI) soup_uri = NULL;
const char *modified_uri;
const char *original_uri;
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index ce11f603a..b00c5919c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -2542,7 +2542,6 @@ authenticate_cb (WebKitWebView *web_view,
gpointer user_data)
{
EphyWebView *ephy_web_view = EPHY_WEB_VIEW (web_view);
- g_autoptr (WebKitCredential) credential = NULL;
EphyPasswordManager *password_manager;
AuthenticationData *data;
g_autoptr (WebKitSecurityOrigin) security_origin = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]