summaryrefslogtreecommitdiff
path: root/SAX2.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 /SAX2.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 'SAX2.c')
-rw-r--r--SAX2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/SAX2.c b/SAX2.c
index 1cf186ac..1ed148fb 100644
--- a/SAX2.c
+++ b/SAX2.c
@@ -2566,7 +2566,6 @@ xmlSAX2ProcessingInstruction(void *ctx, const xmlChar *target,
ret = xmlNewDocPI(ctxt->myDoc, target, data);
if (ret == NULL) return;
- parent = ctxt->node;
if (ctxt->linenumbers) {
if (ctxt->input != NULL) {