From 84de0fbe029d51d0a878506cf82713713b520f65 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 4 Sep 2014 11:35:04 +0000 Subject: [PATCH] libs/web: remove strange 'static' on variable declaration Signed-off-by: Matthias Schiffer --- modules/base/src/template_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/base/src/template_parser.c b/modules/base/src/template_parser.c index fc8607b3c..1aa5131ff 100644 --- a/modules/base/src/template_parser.c +++ b/modules/base/src/template_parser.c @@ -66,7 +66,7 @@ static char *strfind(char *haystack, int hslen, const char *needle, int ndlen) struct template_parser * template_open(const char *file) { struct stat s; - static struct template_parser *parser; + struct template_parser *parser; if (!(parser = malloc(sizeof(*parser)))) goto err; -- 2.25.1