Re: [PATCH 13/16] qemu-file: Simplify qemu_file_get_error()

2023-05-30 Thread Fabiano Rosas
Juan Quintela writes: > If we pass a NULL error is the same that returning dirrectly the value. > > Signed-off-by: Juan Quintela Reviewed-by: Fabiano Rosas

[PATCH 13/16] qemu-file: Simplify qemu_file_get_error()

2023-05-30 Thread Juan Quintela
If we pass a NULL error is the same that returning dirrectly the value. Signed-off-by: Juan Quintela --- migration/qemu-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migration/qemu-file.c b/migration/qemu-file.c index a3d0412b5f..7cf457a981 100644 ---