From: Mikael Magnusson Date: Sun, 21 Mar 2004 11:59:12 +0000 (+0000) Subject: sometimes you have to declare variables too X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=3dce6cbf866abf94c1aa1363a99cc5f961a5150b;p=chaz%2Fopenbox sometimes you have to declare variables too --- diff --git a/openbox/config.c b/openbox/config.c index 486968a6..3a2affc7 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -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;