From 4d0d5f8c07d045918d6215277773b9755dc681b6 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 28 Nov 2013 12:13:02 -0800 Subject: [PATCH] Quiet down valgrind warnings Signed-off-by: Linus Torvalds Signed-off-by: Dirk Hohndel --- parse-xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parse-xml.c b/parse-xml.c index 76a737f8f..9da1f3eba 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1551,7 +1551,7 @@ static const char *nodename(xmlNode *node, char *buf, int len) static void visit_one_node(xmlNode *node) { char *content; - char buffer[MAXNAME]; + static char buffer[MAXNAME]; const char *name; content = node->content;