From 8ee21de8888256a4042bad22f524105876415eb7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 5 Oct 2019 14:58:44 +0200 Subject: [PATCH] reduce scope --- src/util/configuration.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/configuration.c b/src/util/configuration.c index 4e7659276..14fff9844 100644 --- a/src/util/configuration.c +++ b/src/util/configuration.c @@ -1166,7 +1166,6 @@ expand_dollar(const struct GNUNET_CONFIGURATION_Handle *cfg, char *orig, unsigned int depth) { - int i; char *prefix; char *result; char *start; @@ -1242,6 +1241,8 @@ expand_dollar(const struct GNUNET_CONFIGURATION_Handle *cfg, } else { + int i; + start = &orig[1]; def = NULL; i = 0; -- 2.25.1