summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-05 14:58:44 +0200
committerChristian Grothoff <christian@grothoff.org>2019-10-05 14:58:44 +0200
commit8ee21de8888256a4042bad22f524105876415eb7 (patch)
tree8f7f49927f68335d23a13a8afd03834171b97cb3 /src
parent5a065f662988dfd0e5295ba5006bda1927c82763 (diff)
reduce scope
Diffstat (limited to 'src')
-rw-r--r--src/util/configuration.c3
1 files changed, 2 insertions, 1 deletions
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;