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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user