mbox series

[0/2] block/block-copy: Fix uninitialized variable in block_copy_task_entry

Message ID 20200507121129.29760-1-philmd@redhat.com
Headers show
Series block/block-copy: Fix uninitialized variable in block_copy_task_entry | expand

Message

Philippe Mathieu-Daudé May 7, 2020, 12:11 p.m. UTC
block_copy_task_entry() might be written differently to avoid
the initialization. This silents the warning and let me build.

Philippe Mathieu-Daudé (2):
  block/block-copy: Fix uninitialized variable in block_copy_task_entry
  block/block-copy: Simplify block_copy_do_copy()

 block/block-copy.c | 14 ++++----------
 1 file changed, 4 insertions(+), 10 deletions(-)

Comments

Philippe Mathieu-Daudé May 14, 2020, 3:03 p.m. UTC | #1
On 5/7/20 2:11 PM, Philippe Mathieu-Daudé wrote:
> block_copy_task_entry() might be written differently to avoid
> the initialization. This silents the warning and let me build.
> 
> Philippe Mathieu-Daudé (2):
>    block/block-copy: Fix uninitialized variable in block_copy_task_entry
>    block/block-copy: Simplify block_copy_do_copy()
> 
>   block/block-copy.c | 14 ++++----------
>   1 file changed, 4 insertions(+), 10 deletions(-)
> 

ping?
Kevin Wolf May 14, 2020, 4:19 p.m. UTC | #2
Am 07.05.2020 um 14:11 hat Philippe Mathieu-Daudé geschrieben:
> block_copy_task_entry() might be written differently to avoid
> the initialization. This silents the warning and let me build.

Thanks, applied to the block branch.

Kevin