diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-28 12:13:02 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-28 12:15:24 -0800 |
commit | 4d0d5f8c07d045918d6215277773b9755dc681b6 (patch) | |
tree | f7b5111a4030e42abae80e290a3d9f5aecf21a08 /parse-xml.c | |
parent | 38179f49d4d668dcc1057085416635efc599722e (diff) | |
download | subsurface-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.c | 2 |
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; |