From 6a9be60a1689b46bca2c5d51203c3a3752b12673 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 17 Oct 2016 11:43:06 +0100 Subject: [PATCH] notebook: Remove redundant variable declarations We're already declaring notebook and priv at the top of the function, and assigning them to the same values. --- gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index e48b0f19ee..ab84b0140b 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -3579,8 +3579,6 @@ gtk_notebook_drag_end (GtkWidget *widget, if (priv->rootwindow_drop) { - GtkNotebook *notebook = GTK_NOTEBOOK (widget); - GtkNotebookPrivate *priv = notebook->priv; GtkNotebook *dest_notebook = NULL; gint x, y;