From 558280660418ef9e27e36ddd0619225c691e44b7 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Thu, 25 Oct 2012 18:34:52 +0200 Subject: [all] silence warnings from GCC 4.6 GCC 4.6 introduced a new warning about variables declared and initialized, but not really used in the function body. Remove all of these occurrences to build cleanly. http://git.gnome.org/browse/nautilus/commit/?id=d4230de8667764e02dbb966b5d806ff78ced2fd5 --- libcaja-private/caja-entry.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libcaja-private/caja-entry.c') diff --git a/libcaja-private/caja-entry.c b/libcaja-private/caja-entry.c index fb9ac38c..8f5f9d79 100644 --- a/libcaja-private/caja-entry.c +++ b/libcaja-private/caja-entry.c @@ -66,9 +66,6 @@ static GtkEditableInterface *parent_editable_interface = NULL; static void caja_entry_init (CajaEntry *entry) { - GtkWidget *widget; - - widget = GTK_WIDGET (entry); entry->details = g_new0 (CajaEntryDetails, 1); entry->details->user_edit = TRUE; @@ -172,10 +169,8 @@ caja_entry_motion_notify (GtkWidget *widget, GdkEventMotion *event) int result; gboolean old_had, new_had; int old_start, old_end, new_start, new_end; - CajaEntry *entry; GtkEditable *editable; - entry = CAJA_ENTRY (widget); editable = GTK_EDITABLE (widget); old_had = gtk_editable_get_selection_bounds (editable, &old_start, &old_end); -- cgit v1.2.1