]> git.proxmox.com Git - mirror_qemu.git/commit
migration/rdma: Declare for index variables local
authorJuan Quintela <quintela@redhat.com>
Wed, 11 Oct 2023 20:35:26 +0000 (22:35 +0200)
committerJuan Quintela <quintela@redhat.com>
Tue, 17 Oct 2023 07:25:13 +0000 (09:25 +0200)
commit14e2fcbbf80fc3c25c182f6624207daf64de9d88
treedffcab6b82ac233bad0176ef820a84a2c2fe0563
parentebdb85f9d13237287a165f1097e68206a7d5181b
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>
migration/rdma.c