Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 02c88f25f3626aa85545d73b8183e9e39e089ced
https://github.com/tianocore/edk2/commit/02c88f25f3626aa85545d73b8183e9e39e089ced
Author: Mike Beaton <[email protected]>
Date: 2025-12-11 (Thu, 11 Dec 2025)
Changed paths:
M DynamicTablesPkg/Library/Common/DynamicPlatRepoLib/CmObjectTokenFixer.c
Log Message:
-----------
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 <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits