aboutsummaryrefslogtreecommitdiff
path: root/hw/core
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2021-11-11 08:58:40 +0100
committerPhilippe Mathieu-Daudé <philmd@redhat.com>2021-12-31 13:31:20 +0100
commit47ab8a491ac62a884a42fb50ef3c7c7e0dac59d3 (patch)
tree0ca07af2fb035f1c732dcff2e20e8b860eef631c /hw/core
parent2dc426c468833619afc1221666e0e6246b8f21d7 (diff)
downloadqemu-47ab8a491ac62a884a42fb50ef3c7c7e0dac59d3.zip
qemu-47ab8a491ac62a884a42fb50ef3c7c7e0dac59d3.tar.gz
qemu-47ab8a491ac62a884a42fb50ef3c7c7e0dac59d3.tar.bz2
tests/unit/test-smp-parse: Simplify pointer to compound literal use
We can simply use a local variable (and pass its pointer) instead of a pointer to a compound literal. Reviewed-by: Andrew Jones <drjones@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Yanan Wang <wangyanan55@huawei.com> Tested-by: Yanan Wang <wangyanan55@huawei.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20211216132015.815493-7-philmd@redhat.com>
Diffstat (limited to 'hw/core')
0 files changed, 0 insertions, 0 deletions