summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
diff options
context:
space:
mode:
authorMike Beaton <mjsbeaton@gmail.com>2025-12-09 14:11:09 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-12-11 04:03:57 +0300
commit02c88f25f3626aa85545d73b8183e9e39e089ced (patch)
tree89a2fab4ba35796fa957baec9a82216fde5a9b42 /MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h
parent4c8ba6aed8698f5e7abd3282b4132ddd4a3c8416 (diff)
downloadedk2-02c88f25f3626aa85545d73b8183e9e39e089ced.tar.xz
DynamicTablesPkg: Fix used uninitialized warning from CLANG toolchains
The compiler is not spotting that the inverse of the same conditions has already been checked, therefore either the 'if' or the 'else if' has to happen. On the other hand, it is misleading coding to use 'else if' for something that has to happen given earlier checks. This fixes the misleading coding and the warning. We definitely want to keep the warning enabled, as it has caught several genuine cases of uninitialized use. Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
Diffstat (limited to 'MdeModulePkg/Library/PiDxeS3BootScriptLib/BootScriptInternalFormat.h')
0 files changed, 0 insertions, 0 deletions