From 3fa23b14d28d8018f71f659d7e5902850695b24b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 18 Aug 2009 15:35:32 +0200 Subject: [PATCH] suppress a warning from -Wswitch-default * src/guestfs.c (guestfs_end_busy): Add a "default:" label. --- src/guestfs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/guestfs.c b/src/guestfs.c index 0c007d2..8491205 100644 --- a/src/guestfs.c +++ b/src/guestfs.c @@ -1628,8 +1628,10 @@ guestfs_end_busy (guestfs_h *g) case CONFIG: case READY: break; + case LAUNCHING: case NO_HANDLE: + default: error (g, _("guestfs_end_busy: called when in state %d"), g->state); return -1; } -- 1.8.3.1