[xml-security-c] 12/23: Don't compute unused variables
Ferenc Wágner
wferi-guest at moszumanska.debian.org
Thu Jul 21 20:15:43 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi-guest pushed a commit to branch patch-queue/master
in repository xml-security-c.
commit a33ef313a5e5139d7b539e457f6fc8ee7161edaa
Author: Ferenc Wágner <wferi at niif.hu>
Date: Sun Jan 31 00:37:51 2016 +0100
Don't compute unused variables
---
xsec/utils/XSECNameSpaceExpander.cpp | 7 -------
1 file changed, 7 deletions(-)
diff --git a/xsec/utils/XSECNameSpaceExpander.cpp b/xsec/utils/XSECNameSpaceExpander.cpp
index ff147b7..448469e 100644
--- a/xsec/utils/XSECNameSpaceExpander.cpp
+++ b/xsec/utils/XSECNameSpaceExpander.cpp
@@ -158,7 +158,6 @@ void XSECNameSpaceExpander::expandNameSpaces(void) {
DOMElement *docElt; // The document element - do not expand it's namespaces
docElt = mp_fragment; //mp_doc->getDocumentElement();
- int count = attNodeCount(docElt);
DOMNode *c;
@@ -172,8 +171,6 @@ void XSECNameSpaceExpander::expandNameSpaces(void) {
m_expanded = true;
- count = attNodeCount(docElt);
-
}
@@ -182,9 +179,6 @@ void XSECNameSpaceExpander::deleteAddedNamespaces(void) {
NameSpaceEntryListVectorType::size_type size = m_lst.size();
XSECNameSpaceEntry *e;
- DOMElement *docElt = mp_fragment; //mp_doc->getDocumentElement();
- int count = attNodeCount(docElt);
-
NameSpaceEntryListVectorType::size_type i;
for (i = 0; i < size; ++i) {
@@ -206,7 +200,6 @@ void XSECNameSpaceExpander::deleteAddedNamespaces(void) {
// Now done - empty everything
m_lst.clear();
m_expanded = false;
- count = attNodeCount(docElt);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xml-security-c.git
More information about the Pkg-shibboleth-devel
mailing list