From 818828f127b00367cbc1321141da1c7395f00eef Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 21 Jul 2015 09:43:33 -0400 Subject: [PATCH] Cleared warnings under Clang 3.4 with -Wall --- basecode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basecode.h b/basecode.h index cc44c434..ee736dcf 100644 --- a/basecode.h +++ b/basecode.h @@ -12,7 +12,7 @@ class CRYPTOPP_DLL BaseN_Encoder : public Unflushable { public: BaseN_Encoder(BufferedTransformation *attachment=NULL) - {Detach(attachment);} + : m_alphabet(NULL) {Detach(attachment);} BaseN_Encoder(const byte *alphabet, int log2base, BufferedTransformation *attachment=NULL, int padding=-1) { @@ -38,7 +38,7 @@ class CRYPTOPP_DLL BaseN_Decoder : public Unflushable { public: BaseN_Decoder(BufferedTransformation *attachment=NULL) - {Detach(attachment);} + : m_lookup(NULL) {Detach(attachment);} BaseN_Decoder(const int *lookup, int log2base, BufferedTransformation *attachment=NULL) { @@ -53,7 +53,7 @@ public: private: const int *m_lookup; - int m_padding, m_bitsPerChar, m_outputBlockSize; + int /*m_padding,*/ m_bitsPerChar, m_outputBlockSize; int m_bytePos, m_bitPos; SecByteBlock m_outBuf; };