Quiet down valgrind warnings

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Linus Torvalds 2013-11-28 12:13:02 -08:00 committed by Dirk Hohndel
parent 38179f49d4
commit 4d0d5f8c07

View file

@ -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;