audk/CryptoPkg
Peter Jones b5a985ca92 CryptoPkg/BaseCryptLib: remove some duplicate initializations.
clang-analyzer noticed this:

Pk/CryptPkcs7Verify.c:600:5: warning: Value stored to 'OldSize' is never read
    OldSize    = BufferSize;
    ^            ~~~~~~~~~~
Pk/CryptPkcs7Verify.c:644:5: warning: Value stored to 'OldSize' is never read
    OldSize    = BufferSize;
    ^            ~~~~~~~~~~
2 warnings generated.

These are each immediately followed by a loop that initializes them (to
the same values) a second time, and are otherwise only referenced inside
that loop, so there's just no point to these assignments at all.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Peter Jones <pjones@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Long Qin <qin.long@intel.com>
2017-10-24 15:20:22 +08:00
..
Application/Cryptest CryptoPkg: Add new API to retrieve commonName of X.509 certificate 2017-09-25 00:06:41 +08:00
CryptRuntimeDxe CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
Include CryptoPkg: Add new API to retrieve commonName of X.509 certificate 2017-09-25 00:06:41 +08:00
Library CryptoPkg/BaseCryptLib: remove some duplicate initializations. 2017-10-24 15:20:22 +08:00
.gitignore CryptoPkg: Update .gitignore for OpenSSL source masking 2017-03-29 16:05:42 +08:00
CryptoPkg.dec CryptoPkg: Update package version to 0.97 2017-05-05 11:29:22 +08:00
CryptoPkg.dsc CryptoPkg: Update package version to 0.97 2017-05-05 11:29:22 +08:00
CryptoPkg.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00
CryptoPkgExtra.uni CryptoPkg: Convert all .uni files to utf-8 2015-12-15 04:51:26 +00:00