[epiphany] Reenable and placate -Wunused-variable
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Reenable and placate -Wunused-variable
- Date: Sun, 8 Nov 2015 00:11:28 +0000 (UTC)
commit 19afb6ae533007085b8275046fc7533f9af6ecb0
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Sat Nov 7 17:26:20 2015 -0600
Reenable and placate -Wunused-variable
configure.ac | 2 +-
embed/web-extension/ephy-uri-tester.c | 1 -
lib/widgets/ephy-download-widget.c | 1 -
src/ephy-shell.c | 1 -
src/ephy-title-box.c | 1 -
5 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index a18ab31..4bc6739 100644
--- a/configure.ac
+++ b/configure.ac
@@ -38,7 +38,7 @@ AX_COMPILER_FLAGS([WARN_CFLAGS], [WARN_LDFLAGS], [$ax_is_release], [-Wdeclaratio
dnl TODO: Remove all of these! These warnings should be fixed, not
dnl silenced. At least, for the most part. -Wswitch-enum really does
dnl seem pretty dumb.
- [-Wno-unused-variable -Wno-old-style-definition -Wno-shadow -Wno-format-nonliteral
-Wno-deprecated-declarations -Wno-switch-enum -Wno-switch-default -Wno-redundant-decls
-Wno-discarded-qualifiers -Wno-sign-compare])
+ [-Wno-old-style-definition -Wno-shadow -Wno-format-nonliteral -Wno-deprecated-declarations
-Wno-switch-enum -Wno-switch-default -Wno-redundant-decls -Wno-discarded-qualifiers -Wno-sign-compare])
AC_PROG_CC
diff --git a/embed/web-extension/ephy-uri-tester.c b/embed/web-extension/ephy-uri-tester.c
index f67a88a..956debb 100644
--- a/embed/web-extension/ephy-uri-tester.c
+++ b/embed/web-extension/ephy-uri-tester.c
@@ -765,7 +765,6 @@ static void
ephy_uri_tester_parse_file_at_uri (EphyUriTester *tester, const char *fileuri)
{
GFile *file;
- GFileInputStream *stream;
file = g_file_new_for_uri (fileuri);
g_file_read_async (file, G_PRIORITY_DEFAULT_IDLE, NULL, (GAsyncReadyCallback)file_read_cb, tester);
diff --git a/lib/widgets/ephy-download-widget.c b/lib/widgets/ephy-download-widget.c
index 3eddbef..06dc228 100644
--- a/lib/widgets/ephy-download-widget.c
+++ b/lib/widgets/ephy-download-widget.c
@@ -360,7 +360,6 @@ ephy_download_widget_constructed (GObject *object)
{
EphyDownloadWidget *widget = EPHY_DOWNLOAD_WIDGET (object);
EphyDownloadWidgetPrivate *priv = widget->priv;
- GtkWidget *title;
WebKitDownload *download;
const char *action_icon_name = NULL;
GError *error = NULL;
diff --git a/src/ephy-shell.c b/src/ephy-shell.c
index 4e0962a..446c43e 100644
--- a/src/ephy-shell.c
+++ b/src/ephy-shell.c
@@ -260,7 +260,6 @@ download_started_cb (WebKitWebContext *web_context,
WebKitDownload *download,
EphyShell *shell)
{
- WebKitWebView *web_view;
EphyDownload *ephy_download;
gboolean ephy_download_set;
diff --git a/src/ephy-title-box.c b/src/ephy-title-box.c
index 932a07a..068b91d 100644
--- a/src/ephy-title-box.c
+++ b/src/ephy-title-box.c
@@ -139,7 +139,6 @@ ephy_title_box_view_focus_in_cb (GtkWidget *widget,
gpointer user_data)
{
EphyTitleBox *title_box = EPHY_TITLE_BOX (user_data);
- EphyTitleBoxPrivate *priv = ephy_title_box_get_instance_private (title_box);
LOG ("focus-in-event web_view %p event %p title-box %p", widget, event, title_box);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]