summaryrefslogtreecommitdiff
path: root/xmlschemas.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2009-09-07 14:58:47 +0200
committerDaniel Veillard <veillard@redhat.com>2009-09-07 14:58:47 +0200
commit594e5dfb48ee6fbac1b64155839063648022fc57 (patch)
treed3f84693bbc34a21be25753438f902eaf51b851d /xmlschemas.c
parentd44b9364991bd0067d50c29bdff48305dfdad4ce (diff)
downloadlibxml2-594e5dfb48ee6fbac1b64155839063648022fc57.tar.gz
Chasing dead assignments reported by clang-scan
* SAX2.c dict.c error.c hash.c nanohttp.c parser.c python/libxml.c relaxng.c runtest.c tree.c valid.c xinclude.c xmlregexp.c xmlsave.c xmlschemas.c xpath.c xpointer.c: mostly removing unneded affectations, but this led to a few real bugs and some part not yet understood (relaxng/interleave)
Diffstat (limited to 'xmlschemas.c')
-rw-r--r--xmlschemas.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmlschemas.c b/xmlschemas.c
index acc1f785..56c65e3a 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -25293,7 +25293,6 @@ xmlSchemaVAttributesComplex(xmlSchemaValidCtxtPtr vctxt)
if (vctxt->nbAttrInfos == 0)
return (0);
- nbUses = vctxt->nbAttrInfos;
/*
* Validate against the wildcard.
*/