migration/ram: Fix compilation with -Wshadow=local
commitbc3d41a9f62905629d6da98f68cc15069d2374c6
authorThomas Huth <thuth@redhat.com>
Tue, 24 Oct 2023 09:22:20 +0000 (24 11:22 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 30 Oct 2023 16:44:03 +0000 (30 17:44 +0100)
tree4478ec69d4c402ed0ddcd76a0f3fd2b9f6bbee03
parent8258f2fa06f71c7a48b95c39c896626564fe3474
migration/ram: Fix compilation with -Wshadow=local

Rename the variable here to avoid that it shadows a variable from
the beginning of the function scope. With this change the code now
successfully compiles with -Wshadow=local.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231024092220.55305-1-thuth@redhat.com>
migration/ram.c