[xml-security-c] 17/23: Remove unused variable 3

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 7329fdfddd2562b2125dabb005d5b55885941d71
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Sun Jan 31 01:02:08 2016 +0100

    Remove unused variable 3
---
 xsec/tools/xklient/xklient.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/xsec/tools/xklient/xklient.cpp b/xsec/tools/xklient/xklient.cpp
index 68ce39c..6e6b93c 100644
--- a/xsec/tools/xklient/xklient.cpp
+++ b/xsec/tools/xklient/xklient.cpp
@@ -3812,7 +3812,6 @@ int doParsedMsgDump(DOMDocument * doc) {
 	// Get an XKMS Message Factory
 	XSECProvider prov;
 	XKMSMessageFactory * factory = prov.getXKMSMessageFactory();
-	int errorsOccured;
 
 	try {
 
@@ -3835,13 +3834,11 @@ int doParsedMsgDump(DOMDocument * doc) {
 		cerr << "An error occured during message loading\n   Message: "
 		<< msg << endl;
 		XSEC_RELEASE_XMLCH(msg);
-		errorsOccured = true;
 		return 2;
 	}
 	catch (XSECCryptoException &e) {
 		cerr << "An error occured during encryption/signature processing\n   Message: "
 		<< e.getMsg() << endl;
-		errorsOccured = true;
 
 #if defined (XSEC_HAVE_OPENSSL)
 		ERR_load_crypto_strings();

-- 
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