]> git.proxmox.com Git - mirror_edk2.git/commit
DynamicTablesPkg: Fix unitialized variable use
authorMoritz Fischer <moritzf@google.com>
Wed, 20 Oct 2021 05:21:18 +0000 (22:21 -0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 20 Oct 2021 09:55:52 +0000 (09:55 +0000)
commit4fdf843c75d297fe892f989009b3d3e397ccfd55
tree303c68523eaeb7291dbb2187ac6b33fa114b6d61
parent37a33f02aa1ab89f392da7d06ec3578fda1b6182
DynamicTablesPkg: Fix unitialized variable use

In the success case we should return EFI_SUCCESS rather than returning
a potentially unitialized value of Status.

Cc: Sami Mujawar <Sami.Mujawar@arm.com>
Cc: Alexei Fedorov <Alexei.Fedorov@arm.com>
Signed-off-by: Moritz Fischer <moritzf@google.com>
DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c