sometimes you have to declare variables too
authorMikael Magnusson <mikachu@comhem.se>
Sun, 21 Mar 2004 11:59:12 +0000 (11:59 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sun, 21 Mar 2004 11:59:12 +0000 (11:59 +0000)
openbox/config.c

index 486968a..3a2affc 100644 (file)
@@ -386,6 +386,7 @@ static void parse_dock(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
 static void parse_menu(ObParseInst *i, xmlDocPtr doc, xmlNodePtr node,
                        gpointer d)
 {
+    xmlNodePtr n;
     for (node = node->children; node; node = node->next) {
         if (!xmlStrcasecmp(node->name, (const xmlChar*) "file")) {
             gchar *c;