diff options
author | Peter Maydell | 2018-06-22 14:28:42 +0200 |
---|---|---|
committer | Peter Maydell | 2018-06-22 14:28:42 +0200 |
commit | b8d880ba6dcca098dc3a5d345a13bebdcce89c90 (patch) | |
tree | 16d70d5cdb73b2feedb91ab23883d791834e65d5 /scripts/qapi | |
parent | target/arm: Strict alignment for ARMv6-M and ARMv8-M Baseline (diff) | |
download | qemu-b8d880ba6dcca098dc3a5d345a13bebdcce89c90.tar.gz qemu-b8d880ba6dcca098dc3a5d345a13bebdcce89c90.tar.xz qemu-b8d880ba6dcca098dc3a5d345a13bebdcce89c90.zip |
vl.c: Don't zero-initialize statics for serial_hds
checkpatch reminds us that statics shouldn't be zero-initialized:
ERROR: do not initialise statics to 0 or NULL
#35: FILE: vl.c:157:
+static int num_serial_hds = 0;
ERROR: do not initialise statics to 0 or NULL
#36: FILE: vl.c:158:
+static Chardev **serial_hds = NULL;
I forgot to fix this in 6af2692e86f9fdfb3d; do so now.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20180426140253.3918-1-peter.maydell@linaro.org
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions