[nautilus/wip/gbsneto/compile-warnings: 1/5] location-entry: remove unused variable
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/gbsneto/compile-warnings: 1/5] location-entry: remove unused variable
- Date: Thu, 22 Sep 2016 20:13:14 +0000 (UTC)
commit 3f0ed5df275250d705ee2b7faf5a8fef96f4b7a3
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Sep 22 13:54:11 2016 -0300
location-entry: remove unused variable
The entry var in nautilus_location_entry_on_key_press is
not used anywhere, and can be safely dropped.
src/nautilus-location-entry.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-location-entry.c b/src/nautilus-location-entry.c
index 17f4a88..f2830ab 100644
--- a/src/nautilus-location-entry.c
+++ b/src/nautilus-location-entry.c
@@ -648,13 +648,11 @@ static gboolean
nautilus_location_entry_on_key_press (GtkWidget *widget,
GdkEventKey *event)
{
- NautilusLocationEntry *entry;
GtkEditable *editable;
GtkWidgetClass *parent_widget_class;
int position;
gboolean result;
- entry = NAUTILUS_LOCATION_ENTRY (widget);
editable = GTK_EDITABLE (widget);
if (!gtk_editable_get_editable (editable))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]