diff options
author | 2023-10-11 22:35:26 +0200 | |
---|---|---|
committer | 2023-10-17 09:25:13 +0200 | |
commit | 14e2fcbbf80fc3c25c182f6624207daf64de9d88 (patch) | |
tree | dffcab6b82ac233bad0176ef820a84a2c2fe0563 /hw/core/machine-hmp-cmds.c | |
parent | migration/rdma: Use i as for index instead of idx (diff) | |
download | qemu-14e2fcbbf80fc3c25c182f6624207daf64de9d88.tar.xz qemu-14e2fcbbf80fc3c25c182f6624207daf64de9d88.zip |
migration/rdma: Declare for index variables local
Declare all variables that are only used inside a for loop inside the
for statement.
This makes clear that they are not used outside of the for loop.
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231011203527.9061-13-quintela@redhat.com>
Diffstat (limited to 'hw/core/machine-hmp-cmds.c')
0 files changed, 0 insertions, 0 deletions