[3/8] qemu-ga: Document intentional fall through in channel_event_cb()

Message ID 1358193312-15960-4-git-send-email-mdroth@linux.vnet.ibm.com
State New
Headers show

Commit Message

Michael Roth Jan. 14, 2013, 7:55 p.m.
From: Markus Armbruster <armbru@redhat.com>

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 |    1 +
 1 file changed, 1 insertion(+)


diff --git a/qga/main.c b/qga/main.c
index bd70ead..e8a9a9e 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -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