From 728ed8570f833917923751db3b5907dc63e3e3cb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Pawe=C5=82=20Forysiuk?= Date: Fri, 1 Apr 2011 16:35:09 +0200 Subject: [PATCH] Remove unused browser variable from addons_install_response --- extensions/addons.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/extensions/addons.c b/extensions/addons.c index 62030cf1..91d78296 100644 --- a/extensions/addons.c +++ b/extensions/addons.c @@ -100,11 +100,7 @@ addons_install_response (GtkWidget* infobar, { if (response_id == GTK_RESPONSE_ACCEPT) { - MidoriBrowser* browser; - const gchar* uri; - - browser = midori_browser_get_for_widget (GTK_WIDGET (infobar)); - uri = midori_view_get_display_uri (view); + const gchar* uri = midori_view_get_display_uri (view); if (uri && *uri) { gchar** split_uri; -- 2.39.5