diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-11-11 08:58:40 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-12-31 13:31:20 +0100 |
commit | 47ab8a491ac62a884a42fb50ef3c7c7e0dac59d3 (patch) | |
tree | 0ca07af2fb035f1c732dcff2e20e8b860eef631c /hw/core | |
parent | 2dc426c468833619afc1221666e0e6246b8f21d7 (diff) | |
download | qemu-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