reduce scope
authorChristian Grothoff <christian@grothoff.org>
Sat, 5 Oct 2019 12:58:44 +0000 (14:58 +0200)
committerChristian Grothoff <christian@grothoff.org>
Sat, 5 Oct 2019 12:58:44 +0000 (14:58 +0200)
src/util/configuration.c

index 4e7659276b4413ccfb582ea283624941b7813eb9..14fff98441817bf77d34d0db1bf81fa30f856c2a 100644 (file)
@@ -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;