2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

We use too old Visual Compiler to use scoped variables

This commit is contained in:
Ondřej Surý
2018-04-11 15:16:34 +02:00
parent 96a07ba867
commit 5311a3b7b5
7 changed files with 9 additions and 10 deletions

View File

@@ -1741,6 +1741,7 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv)
int rc;
char **rv;
isc_boolean_t global = ISC_TRUE;
char *last;
/*
* The semantics for parsing the args is a bit complex; if
@@ -1852,7 +1853,6 @@ parse_args(isc_boolean_t is_batchfile, int argc, char **argv)
fatal("couldn't open batch file '%s'", batchname);
}
while (fgets(batchline, sizeof(batchline), batchfp) != 0) {
char *last;
if (batchline[0] == '\r' || batchline[0] == '\n'
|| batchline[0] == '#' || batchline[0] == ';')
continue;