mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Cleared -Wmaybe-uninitialized under GCC 5.1
This commit is contained in:
parent
e874cd2ef8
commit
d04b813e8b
4
asn.cpp
4
asn.cpp
@ -74,7 +74,9 @@ bool BERLengthDecode(BufferedTransformation &bt, lword &length, bool &definiteLe
|
||||
|
||||
bool BERLengthDecode(BufferedTransformation &bt, size_t &length)
|
||||
{
|
||||
lword lw;
|
||||
// Initialize to silence warning from diagnostic tools
|
||||
lword lw = 0;
|
||||
|
||||
bool definiteLength;
|
||||
if (!BERLengthDecode(bt, lw, definiteLength))
|
||||
BERDecodeError();
|
||||
|
@ -402,7 +402,7 @@ void Inflator::DecodeHeader()
|
||||
HuffmanDecoder codeLengthDecoder(codeLengths, 19);
|
||||
for (i = 0; i < hlit+257+hdist+1; )
|
||||
{
|
||||
unsigned int k, count, repeater;
|
||||
unsigned int k=0, count=0, repeater=0;
|
||||
bool result = codeLengthDecoder.Decode(m_reader, k);
|
||||
if (!result)
|
||||
throw UnexpectedEndErr();
|
||||
|
Loading…
Reference in New Issue
Block a user