summaryrefslogtreecommitdiff
path: root/runtest.c
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2015-08-25 21:55:54 +0200
committerRaphaël Hertzog <hertzog@debian.org>2015-08-25 21:55:54 +0200
commit7300193becde71a344c8ac0973dc290fa24d800d (patch)
tree6490c364e7764294c209e536d42f3d31d23ebc0d /runtest.c
parent3871a83a5f0aebd8c00879eab14fe901c93dbfcf (diff)
downloadlibxml2-7300193becde71a344c8ac0973dc290fa24d800d.tar.gz
Imported Upstream version 2.9.1+dfsg1
Diffstat (limited to 'runtest.c')
-rw-r--r--runtest.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/runtest.c b/runtest.c
index 02fe09a..ccdd49b 100644
--- a/runtest.c
+++ b/runtest.c
@@ -1679,8 +1679,7 @@ saxParseTest(const char *filename, const char *result,
}
if (ret != 0) {
fprintf(stderr, "Failed to parse %s\n", filename);
- ret = 1;
- goto done;
+ return(1);
}
#ifdef LIBXML_HTML_ENABLED
if (options & XML_PARSE_HTML) {
@@ -1702,8 +1701,6 @@ saxParseTest(const char *filename, const char *result,
fprintf(stderr, "Got a difference for %s\n", filename);
ret = 1;
}
-
-done:
if (temp != NULL) {
unlink(temp);
free(temp);