Remove unused variable.
authorCarl Hetherington <cth@carlh.net>
Thu, 2 Jun 2016 08:57:05 +0000 (09:57 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 2 Jun 2016 08:57:05 +0000 (09:57 +0100)
src/certificate_chain.cc

index 557c8d3752d0d4c62bd7ab05275bb2e72bd25fbb..cd5af970e90fa0298365d40aec81150cf5796b65 100644 (file)
@@ -513,7 +513,6 @@ CertificateChain::add_signature_value (xmlpp::Node* parent, string ns) const
        xmlpp::Node* key_info = cp.node_child("KeyInfo")->node ();
 
        /* Add the certificate chain to the KeyInfo child node of parent */
-       CertificateChain::List c = leaf_to_root ();
        BOOST_FOREACH (Certificate const & i, leaf_to_root ()) {
                xmlpp::Element* data = key_info->add_child("X509Data", ns);