Re: [PATCH 3/5] hw/ppc/spapr: Do not declare local variable only used for assertion

2020-09-02 Thread Greg Kurz
On Wed, 2 Sep 2020 10:07:59 +0200 Philippe Mathieu-Daudé wrote: > This variable is used once in an assertion. Remove single > declaration and access directly in the assert(). > > See in "qemu/osdep.h": > > * [...] disable assertion is not > * supported upstre

[PATCH 3/5] hw/ppc/spapr: Do not declare local variable only used for assertion

2020-09-02 Thread Philippe Mathieu-Daudé
This variable is used once in an assertion. Remove single declaration and access directly in the assert(). See in "qemu/osdep.h": * [...] disable assertion is not * supported upstream so the risk is all yours. Meanwhile, please * submit patches to remove any s