aboutsummaryrefslogtreecommitdiffstats
path: root/hw/core/machine-hmp-cmds.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-10-11 22:35:26 +0200
committerJuan Quintela <quintela@redhat.com>2023-10-17 09:25:13 +0200
commit14e2fcbbf80fc3c25c182f6624207daf64de9d88 (patch)
treedffcab6b82ac233bad0176ef820a84a2c2fe0563 /hw/core/machine-hmp-cmds.c
parentmigration/rdma: Use i as for index instead of idx (diff)
downloadqemu-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