[gegl] operations_html: fix and clean up (C90) variable declarations



commit 098a8b34db007fe037240a215e496eb5d7d2e1bf
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed May 3 02:34:39 2017 +0200

    operations_html: fix and clean up (C90) variable declarations

 tools/operations_html.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/tools/operations_html.c b/tools/operations_html.c
index e496211..2930a1b 100644
--- a/tools/operations_html.c
+++ b/tools/operations_html.c
@@ -636,11 +636,13 @@ all:
       gchar *category = "all";
       GList *keys = g_hash_table_get_keys (seen_categories);
       GList *keys2 = g_list_copy (keys);
+      GList *k;
+      GString *cs;
       keys2 = g_list_sort (keys2, (void*)g_strcmp0);
       keys = keys2;
       k = keys;
 
-      GString *cs = g_string_new ("<div class='categories'>");
+      cs = g_string_new ("<div class='categories'>");
 
       for (k = keys; k; k = k->next)
       {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]