Browse Source

Warnings fixes.

cl-refactor
Gav Wood 10 years ago
parent
commit
7775503c16
  1. 3
      libdevcrypto/CryptoPP.cpp
  2. 2
      libsolidity/SourceReferenceFormatter.h

3
libdevcrypto/CryptoPP.cpp

@ -198,6 +198,9 @@ bool Secp256k1::verifySecret(Secret const& _s, Public& _p)
void Secp256k1::agree(Secret const& _s, Public const& _r, h256& o_s)
{
(void)_s;
(void)_r;
(void)o_s;
ECDH<ECP>::Domain d(m_oid);
assert(d.AgreedValueLength() == sizeof(o_s));
byte remote[65] = {0x04};

2
libsolidity/SourceReferenceFormatter.h

@ -28,7 +28,7 @@
namespace dev
{
class Exception; // forward
struct Exception; // forward
namespace solidity
{

Loading…
Cancel
Save