summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-11-28 12:13:02 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-28 12:15:24 -0800
commit4d0d5f8c07d045918d6215277773b9755dc681b6 (patch)
treef7b5111a4030e42abae80e290a3d9f5aecf21a08 /parse-xml.c
parent38179f49d4d668dcc1057085416635efc599722e (diff)
downloadsubsurface-4d0d5f8c07d045918d6215277773b9755dc681b6.tar.gz
Quiet down valgrind warnings
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c2
1 files changed, 1 insertions, 1 deletions
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;