diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-19 11:05:48 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-19 11:05:48 -0400 |
commit | d04b813e8b078e717992b86b8b6103db0bd2cec3 (patch) | |
tree | 3fe613a3d2c40ef30f6fdc887006ed7b8d05e890 /asn.cpp | |
parent | e874cd2ef8cf038627e14a59ae47b4034c7c18c1 (diff) | |
download | cryptopp-git-d04b813e8b078e717992b86b8b6103db0bd2cec3.tar.gz |
Cleared -Wmaybe-uninitialized under GCC 5.1
Diffstat (limited to 'asn.cpp')
-rw-r--r-- | asn.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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(); |