audk/CryptoPkg/Library
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
..
BaseCryptLib CryptoPkg/BaseCryptLib: remove some duplicate initializations. 2017-10-24 15:20:22 +08:00
BaseCryptLibRuntimeCryptProtocol CryptoPkg: Add new API to retrieve commonName of X.509 certificate 2017-09-25 00:06:41 +08:00
Include CryptoPkg: Fix possible unresolved external symbol issue. 2017-04-07 00:27:34 +08:00
IntrinsicLib CryptoPkg IntrinsicLib: Remove GCC -fno-builtin option 2017-04-07 15:15:58 +08:00
OpensslLib CryptoPkg/OpensslLib AARCH64: clear XIP CC flags 2017-07-15 13:36:58 +01:00
TlsLib CryptoPkg/TlsLib: Remove the redundant free of BIO objects 2017-08-02 15:31:46 +08:00