[libxml2] Avoid an extra operation
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Avoid an extra operation
- Date: Mon, 21 May 2012 02:22:38 +0000 (UTC)
commit 59df1e4f9297b0dab63a5029082261441e4b14e0
Author: Daniel Veillard <veillard redhat com>
Date: Mon May 21 10:14:34 2012 +0800
Avoid an extra operation
In the catalog code, tsan also complained of testing
the variable without locking and that was done a few lines below
catalog.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/catalog.c b/catalog.c
index f33a0aa..fb586c1 100644
--- a/catalog.c
+++ b/catalog.c
@@ -1407,8 +1407,6 @@ xmlFetchXMLCatalogFile(xmlCatalogEntryPtr catal) {
return(-1);
if (catal->URL == NULL)
return(-1);
- if (catal->children != NULL)
- return(-1);
/*
* lock the whole catalog for modification
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]