[gnome-software] trivial: Fix tiny warning spotted with clang
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix tiny warning spotted with clang
- Date: Wed, 17 Feb 2016 15:01:21 +0000 (UTC)
commit 89061464e7d3116e28b9cb4bef84b54679dbc863
Author: Richard Hughes <richard hughsie com>
Date: Wed Feb 17 11:55:01 2016 +0000
trivial: Fix tiny warning spotted with clang
src/gs-hiding-box.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-hiding-box.c b/src/gs-hiding-box.c
index 0500a3f..0822be4 100644
--- a/src/gs-hiding-box.c
+++ b/src/gs-hiding-box.c
@@ -273,7 +273,7 @@ gs_hiding_box_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
clip.x = clip.y = 0;
}
- for (i = 0, child = box->children; child != NULL; child = child->next) {
+ for (child = box->children; child != NULL; child = child->next) {
child_widget = GTK_WIDGET (child->data);
if (gtk_widget_get_visible (child_widget) &&
gtk_widget_get_child_visible (child_widget)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]