From 7c6bfa2d2516b4b077de7ee1e2d36cd0bb36f1a6 Mon Sep 17 00:00:00 2001 From: devzero2000 Date: Thu, 19 Dec 2013 21:30:18 +0000 Subject: poptconfig.c: add some curly braces In c89 declarations were only valid at the beginning of blocks. --- poptconfig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/poptconfig.c b/poptconfig.c index 036b104..63804d5 100644 --- a/poptconfig.c +++ b/poptconfig.c @@ -508,6 +508,7 @@ int poptReadDefaultConfig(poptContext con, /*@unused@*/ UNUSED(int useEnv)) if (rc) goto exit; #if defined(HAVE_GLOB_H) + { struct stat sb; if (!stat("SYSCONFDIR/popt.d", &sb) && S_ISDIR(sb.st_mode)) { const char ** av = NULL; @@ -528,6 +529,7 @@ int poptReadDefaultConfig(poptContext con, /*@unused@*/ UNUSED(int useEnv)) } av=_free(av); } + } } if (rc) goto exit; #endif -- cgit v1.2.1