summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openbox/config.c1
1 files changed, 1 insertions, 0 deletions
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;