diff options
author | Peng Liang <liangpeng10@huawei.com> | 2021-06-10 21:17:29 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-15 17:17:09 +0200 |
commit | 6e1da3d305499d3907f3c7f6638243e2e09b5085 (patch) | |
tree | 391689bf2befe15fd77616683b1f267ef2024a52 /hw | |
parent | 06b80795ee25d23e69747b2cb435003c6db2a6ab (diff) |
runstate: Initialize Error * to NULL
Based on the description of error_setg(), the local variable err in
qemu_init_subsystems() should be initialized to NULL.
Fixes: efd7ab22fb ("vl: extract qemu_init_subsystems")
Cc: qemu-stable@nongnu.org
Signed-off-by: Peng Liang <liangpeng10@huawei.com>
Message-Id: <20210610131729.3906565-1-liangpeng10@huawei.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions