From: Jim Meyering Date: Tue, 18 Aug 2009 13:35:32 +0000 (+0200) Subject: suppress a warning from -Wswitch-default X-Git-Tag: 1.0.68~16 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3fa23b14d28d8018f71f659d7e5902850695b24b;p=libguestfs.git suppress a warning from -Wswitch-default * src/guestfs.c (guestfs_end_busy): Add a "default:" label. --- 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; }