commit | 59df1e4f9297b0dab63a5029082261441e4b14e0 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@redhat.com> | Mon May 21 10:14:34 2012 +0800 |
committer | Daniel Veillard <veillard@redhat.com> | Mon May 21 10:19:21 2012 +0800 |
tree | 53c664701df223030cd1d19e0e69eb7f7f632ee5 | |
parent | d495e6a845aac21635b24891ccc1cc7c6698d752 [diff] |
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
diff --git a/catalog.c b/catalog.c index f33a0aa..fb586c1 100644 --- a/catalog.c +++ b/catalog.c
@@ -1407,8 +1407,6 @@ return(-1); if (catal->URL == NULL) return(-1); - if (catal->children != NULL) - return(-1); /* * lock the whole catalog for modification