[telepathy-gabble/master] Document a deliberate switch fall-through

Will Thompson will.thompson at collabora.co.uk
Wed Nov 25 05:08:49 PST 2009


---
 lib/gibber/gibber-fd-transport.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lib/gibber/gibber-fd-transport.c b/lib/gibber/gibber-fd-transport.c
index 4837c11..710809f 100644
--- a/lib/gibber/gibber-fd-transport.c
+++ b/lib/gibber/gibber-fd-transport.c
@@ -288,6 +288,7 @@ _channel_io_in (GIOChannel *source, GIOCondition condition, gpointer data)
         break;
       case GIBBER_FD_IO_RESULT_ERROR:
         gibber_transport_emit_error (GIBBER_TRANSPORT(self), error);
+        /* Deliberately falling through */
       case GIBBER_FD_IO_RESULT_EOF:
         DEBUG("Failed to read from the transport, closing..");
         _do_disconnect (self);
-- 
1.5.6.5




More information about the telepathy-commits mailing list