From a2fc9689c297d9f1d5771dd4d662ff0077f9ee5e Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Wed, 22 Jul 2015 00:05:46 +0200 Subject: Silence some extra ';' warnings --- src/lib/pubkey/mce/mceliece_key.cpp | 2 +- src/lib/pubkey/mce/polyn_gf2m.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/pubkey/mce') diff --git a/src/lib/pubkey/mce/mceliece_key.cpp b/src/lib/pubkey/mce/mceliece_key.cpp index 41392f695..8cda0af89 100644 --- a/src/lib/pubkey/mce/mceliece_key.cpp +++ b/src/lib/pubkey/mce/mceliece_key.cpp @@ -34,7 +34,7 @@ McEliece_PrivateKey::McEliece_PrivateKey(polyn_gf2m const& goppa_polyn, m_codimension(ceil_log2(inverse_support.size()) * goppa_polyn.get_degree()), m_dimension(inverse_support.size() - m_codimension) { - }; + } McEliece_PrivateKey::McEliece_PrivateKey(RandomNumberGenerator& rng, size_t code_length, size_t t) { diff --git a/src/lib/pubkey/mce/polyn_gf2m.cpp b/src/lib/pubkey/mce/polyn_gf2m.cpp index 0f203ec11..35ae8ffee 100644 --- a/src/lib/pubkey/mce/polyn_gf2m.cpp +++ b/src/lib/pubkey/mce/polyn_gf2m.cpp @@ -146,7 +146,7 @@ polyn_gf2m::polyn_gf2m( std::shared_ptr sp_field ) : m_deg(-1), coeff(1), msp_field(sp_field) - {}; + {} polyn_gf2m::polyn_gf2m(int degree, const unsigned char* mem, u32bit mem_byte_len, std::shared_ptr sp_field) :msp_field(sp_field) -- cgit v1.2.3