diff options
author | Star Zeng <star.zeng@intel.com> | 2018-07-31 10:25:49 +0800 |
---|---|---|
committer | Kinney, Michael D <michael.d.kinney@intel.com> | 2018-08-02 14:46:19 -0700 |
commit | d7fb5a46324f1f8a3f0bba7a2ab06ea362ae1053 (patch) | |
tree | 516709d69c782831adb1370dc7e4aa9e1838e587 /BaseTools/Source/Python/GenFds/GenFds.py | |
parent | a6d73269b134116cfb84830d81f5ac2a389eb91b (diff) | |
download | edk2-d7fb5a46324f1f8a3f0bba7a2ab06ea362ae1053.tar.gz edk2-d7fb5a46324f1f8a3f0bba7a2ab06ea362ae1053.tar.bz2 edk2-d7fb5a46324f1f8a3f0bba7a2ab06ea362ae1053.zip |
FmpDevicePkg FmpDxe: Use local variable to store test key digest size
Some static tool reports "the condition in 'if' statement is constant".
This patch updates the code to use local variable to store test key
digest size. It can pass the static tool's check.
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/GenFds.py')
0 files changed, 0 insertions, 0 deletions