mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-24 06:50:08 +03:00
Don't mix declarations and code in runtest.c
This commit is contained in:
parent
776b00284d
commit
7204dbb0ad
@ -2153,10 +2153,10 @@ fdParseTest(const char *filename, const char *result, const char *err,
|
||||
int options) {
|
||||
xmlDocPtr doc;
|
||||
const char *base = NULL;
|
||||
int size, res = 0;
|
||||
int size, res = 0, fd;
|
||||
|
||||
nb_tests++;
|
||||
int fd = open(filename, RD_FLAGS);
|
||||
fd = open(filename, RD_FLAGS);
|
||||
#ifdef LIBXML_HTML_ENABLED
|
||||
if (options & XML_PARSE_HTML) {
|
||||
doc = htmlReadFd(fd, filename, NULL, options);
|
||||
|
Loading…
x
Reference in New Issue
Block a user