Displaying 1 result from an estimated 1 matches for "a50eca988".
2018 Feb 15
1
[PATCH] lib: qemu: help GCC 8 by break'ing a case in a switch
...other fall through. In reality
this ought to not happen at all, so help GCC by break'ing the case,
which will then lead to the abort() at the end of
guestfs_int_drive_source_qemu_param.
---
lib/qemu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/qemu.c b/lib/qemu.c
index cd859139d..a50eca988 100644
--- a/lib/qemu.c
+++ b/lib/qemu.c
@@ -746,6 +746,7 @@ guestfs_int_drive_source_qemu_param (guestfs_h *g,
return make_uri (g, "gluster+unix", NULL, NULL,
&src->servers[0], NULL);
}
+ break;
case drive_protocol_http:
return make...