summaryrefslogtreecommitdiff
path: root/basecode.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-07-21 09:43:33 -0400
committerJeffrey Walton <noloader@gmail.com>2015-07-21 09:43:33 -0400
commit818828f127b00367cbc1321141da1c7395f00eef (patch)
tree1f5c69b333724aaa60ada4b29529fa50497c0d2f /basecode.h
parent1e215722bce9153bc5a6a481f50e24c0f76206a7 (diff)
downloadcryptopp-git-818828f127b00367cbc1321141da1c7395f00eef.tar.gz
Cleared warnings under Clang 3.4 with -Wall
Diffstat (limited to 'basecode.h')
-rw-r--r--basecode.h6
1 files 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<Filter>
{
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<Filter>
{
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;
};