[epiphany] Fix unused variable warning
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix unused variable warning
- Date: Fri, 2 Nov 2018 10:28:30 +0000 (UTC)
commit 9ee63e742d9a1aaf9ed8ca673be097317a1911ce
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Fri Nov 2 05:25:31 2018 -0500
Fix unused variable warning
src/window-commands.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/src/window-commands.c b/src/window-commands.c
index 177af0924..9b82fc6c6 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -2366,11 +2366,10 @@ window_cmd_tabs_close_left (GSimpleAction *action,
EphyWindow *window = user_data;
GtkWidget *notebook;
EphyEmbed *embed;
- int n_pages, current_page_no;
+ int current_page_no;
GSList *pages_to_close = NULL;
notebook = ephy_window_get_notebook (window);
- n_pages = gtk_notebook_get_n_pages (GTK_NOTEBOOK (notebook));
current_page_no = gtk_notebook_get_current_page (GTK_NOTEBOOK (notebook));
for (int i = 0; i < current_page_no; i++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]