Re: [edk2] [PATCH] MdeModulePkg: AcpiTableDxe: fix VS2008 build by merging adjacent if blocks

2016-02-25 Thread Zeng, Star
On 2016/2/26 0:25, Ard Biesheuvel wrote: The assignment of CurrentRsdtEntry and its subsequent dereference are subject to the same condition, but for some reason, VS2008 does not see that and warns about the dereference possibly involving an uninitialized pointer. Since the single statememt

Re: [edk2] [PATCH] MdeModulePkg: AcpiTableDxe: fix VS2008 build by merging adjacent if blocks

2016-02-25 Thread David Woodhouse
On Thu, 2016-02-25 at 17:25 +0100, Ard Biesheuvel wrote: > The assignment of CurrentRsdtEntry and its subsequent dereference are > subject to the same condition, but for some reason, VS2008 does not see > that and warns about the dereference possibly involving an uninitialized > pointer. Since the

[edk2] [PATCH] MdeModulePkg: AcpiTableDxe: fix VS2008 build by merging adjacent if blocks

2016-02-25 Thread Ard Biesheuvel
The assignment of CurrentRsdtEntry and its subsequent dereference are subject to the same condition, but for some reason, VS2008 does not see that and warns about the dereference possibly involving an uninitialized pointer. Since the single statememt between the blocks is unrelated, we can just