[PATCH] libsoup: Remove unnecessary break statement



---
 libsoup/soup-connection.c | 1 -
 libsoup/soup-socket.c     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/libsoup/soup-connection.c b/libsoup/soup-connection.c
index 123f85e..77b1c8b 100644
--- a/libsoup/soup-connection.c
+++ b/libsoup/soup-connection.c
@@ -105,7 +105,6 @@ soup_connection_set_property (GObject *object, guint prop_id,
                else
                        priv->ssl = FALSE;
                break;
-               break;
        case PROP_SSL_FALLBACK:
                priv->ssl_fallback = g_value_get_boolean (value);
                break;
diff --git a/libsoup/soup-socket.c b/libsoup/soup-socket.c
index f10481b..594e38b 100644
--- a/libsoup/soup-socket.c
+++ b/libsoup/soup-socket.c
@@ -422,7 +422,6 @@ soup_socket_get_property (GObject *object, guint prop_id,
        case PROP_TLS_ERRORS:
                g_value_set_flags (value, priv->tls_errors);
                break;
-               break;
        default:
                G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
                break;
-- 
1.9.1



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