gcc claims 'event_id' might be uninitialized; it's wrong, but it's
hard for the optimizer to know that. Placate it in the name of
reducing warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=690224
soup_connection_connect_sync (SoupConnection *conn, GCancellable *cancellable)
{
SoupConnectionPrivate *priv;
- guint status, event_id;
+ guint status, event_id = 0;
SoupURI *connect_uri;
SoupAddress *remote_addr;
soup_connection_disconnect (conn);
}
- if (priv->socket)
+ if (priv->socket && event_id)
g_signal_handler_disconnect (priv->socket, event_id);
if (priv->proxy_uri != NULL)