qemu-ga: Document intentional fall through in channel_event_cb()
authorMarkus Armbruster <armbru@redhat.com>
Fri, 11 Jan 2013 10:24:57 +0000 (11:24 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 14 Jan 2013 18:00:40 +0000 (12:00 -0600)
For clarity, and to hush up Coverity.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/main.c

index bd70ead126c3a51fb0663101b33e43bcbe899aa4..e8a9a9ee7e9862ac0dbae553cf97746c1a70357d 100644 (file)
@@ -618,6 +618,7 @@ static gboolean channel_event_cb(GIOCondition condition, gpointer data)
         if (!s->virtio) {
             return false;
         }
+        /* fall through */
     case G_IO_STATUS_AGAIN:
         /* virtio causes us to spin here when no process is attached to
          * host-side chardev. sleep a bit to mitigate this