Re: [PATCH] migration/qemu-file: Fix maybe uninitialized on qemu_get_buffer_in_place()

2021-02-04 Thread Dr. David Alan Gilbert
* Dr. David Alan Gilbert (dgilb...@redhat.com) wrote: > * Wainer dos Santos Moschetta (waine...@redhat.com) wrote: > > Fixed error when compiling migration/qemu-file.c with > > -Werror=maybe-uninitialized > > as shown here: > > > > ../migration/qemu-file.c: In function 'qemu_get_buffer_in_place':

Re: [PATCH] migration/qemu-file: Fix maybe uninitialized on qemu_get_buffer_in_place()

2021-01-28 Thread Dr. David Alan Gilbert
* Philippe Mathieu-Daudé (phi...@redhat.com) wrote: > On 1/28/21 6:16 PM, Dr. David Alan Gilbert wrote: > > * Wainer dos Santos Moschetta (waine...@redhat.com) wrote: > >> Fixed error when compiling migration/qemu-file.c with > >> -Werror=maybe-uninitialized > >> as shown here: > >> > >> ../migrat

Re: [PATCH] migration/qemu-file: Fix maybe uninitialized on qemu_get_buffer_in_place()

2021-01-28 Thread Wainer dos Santos Moschetta
Hi, On 1/28/21 3:07 PM, Philippe Mathieu-Daudé wrote: On 1/28/21 6:16 PM, Dr. David Alan Gilbert wrote: * Wainer dos Santos Moschetta (waine...@redhat.com) wrote: Fixed error when compiling migration/qemu-file.c with -Werror=maybe-uninitialized as shown here: ../migration/qemu-file.c: In fun

Re: [PATCH] migration/qemu-file: Fix maybe uninitialized on qemu_get_buffer_in_place()

2021-01-28 Thread Philippe Mathieu-Daudé
On 1/28/21 6:16 PM, Dr. David Alan Gilbert wrote: > * Wainer dos Santos Moschetta (waine...@redhat.com) wrote: >> Fixed error when compiling migration/qemu-file.c with >> -Werror=maybe-uninitialized >> as shown here: >> >> ../migration/qemu-file.c: In function 'qemu_get_buffer_in_place': >> ../mig

Re: [PATCH] migration/qemu-file: Fix maybe uninitialized on qemu_get_buffer_in_place()

2021-01-28 Thread Dr. David Alan Gilbert
* Wainer dos Santos Moschetta (waine...@redhat.com) wrote: > Fixed error when compiling migration/qemu-file.c with > -Werror=maybe-uninitialized > as shown here: > > ../migration/qemu-file.c: In function 'qemu_get_buffer_in_place': > ../migration/qemu-file.c:604:18: error: 'src' may be used unini

[PATCH] migration/qemu-file: Fix maybe uninitialized on qemu_get_buffer_in_place()

2021-01-28 Thread Wainer dos Santos Moschetta
Fixed error when compiling migration/qemu-file.c with -Werror=maybe-uninitialized as shown here: ../migration/qemu-file.c: In function 'qemu_get_buffer_in_place': ../migration/qemu-file.c:604:18: error: 'src' may be used uninitialized in this function [-Werror=maybe-uninitialized] 604 |