diff options
author | Pablo Barciela <[email protected]> | 2019-03-05 02:14:49 +0100 |
---|---|---|
committer | ZenWalker <[email protected]> | 2019-03-07 00:00:20 +0100 |
commit | fc9a637006bab37dbb73c678983032111831a623 (patch) | |
tree | cd6e7ccb63135b737b244a89f0589603e3aecf1c /libcaja-private/caja-progress-info.c | |
parent | ee16c212d5ce11f6d782f86bb62302356b163462 (diff) | |
download | caja-fc9a637006bab37dbb73c678983032111831a623.tar.bz2 caja-fc9a637006bab37dbb73c678983032111831a623.tar.xz |
avoid variables set but not used
Diffstat (limited to 'libcaja-private/caja-progress-info.c')
-rw-r--r-- | libcaja-private/caja-progress-info.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c index 8d6885c4..dbf3db55 100644 --- a/libcaja-private/caja-progress-info.c +++ b/libcaja-private/caja-progress-info.c @@ -463,7 +463,7 @@ widget_reposition_as_paused (GtkWidget * widget) ProgressWidgetData *data; GList *children, *child; gboolean abort = FALSE; - int i, mypos = -1; + int i; GtkWidget * container = get_widgets_container(); children = gtk_container_get_children (GTK_CONTAINER(container)); @@ -473,9 +473,6 @@ widget_reposition_as_paused (GtkWidget * widget) data = (ProgressWidgetData*) g_object_get_data ( G_OBJECT(child->data), "data"); - if (child->data == widget) - mypos = i; - if (child->data != widget && is_op_paused(data->state)) { abort = TRUE; i--; |