qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 1/6] qemu-ga: Document intentional fall through in c


From: Markus Armbruster
Subject: [Qemu-devel] [PATCH 1/6] qemu-ga: Document intentional fall through in channel_event_cb()
Date: Fri, 11 Jan 2013 11:24:57 +0100

For clarity, and to hush up Coverity.

Signed-off-by: Markus Armbruster <address@hidden>
---
 qga/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/qga/main.c b/qga/main.c
index a9b968c..47a6bea 100644
--- a/qga/main.c
+++ b/qga/main.c
@@ -605,6 +605,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
-- 
1.7.11.7




reply via email to

[Prev in Thread] Current Thread [Next in Thread]