aboutsummaryrefslogtreecommitdiff
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
parent5a065f662988dfd0e5295ba5006bda1927c82763 (diff)
downloadgnunet-8ee21de8888256a4042bad22f524105876415eb7.tar.gz
gnunet-8ee21de8888256a4042bad22f524105876415eb7.zip
reduce scope
-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,
1166 char *orig, 1166 char *orig,
1167 unsigned int depth) 1167 unsigned int depth)
1168{ 1168{
1169 int i;
1170 char *prefix; 1169 char *prefix;
1171 char *result; 1170 char *result;
1172 char *start; 1171 char *start;
@@ -1242,6 +1241,8 @@ expand_dollar(const struct GNUNET_CONFIGURATION_Handle *cfg,
1242 } 1241 }
1243 else 1242 else
1244 { 1243 {
1244 int i;
1245
1245 start = &orig[1]; 1246 start = &orig[1];
1246 def = NULL; 1247 def = NULL;
1247 i = 0; 1248 i = 0;