[Spice-commits] src/channel-main.c
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jan 28 11:20:05 UTC 2022
src/channel-main.c | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit d5c01a322f488856f96325f281b59e5ec5d30ba4
Author: Frediano Ziglio <freddy77 at gmail.com>
Date: Wed Sep 16 10:42:32 2020 +0100
channel-main: Remove unused code
Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
diff --git a/src/channel-main.c b/src/channel-main.c
index 7f71258..f502ca3 100644
--- a/src/channel-main.c
+++ b/src/channel-main.c
@@ -2396,14 +2396,11 @@ static gboolean main_migrate_handshake_done(spice_migrate *mig)
/* main context */
static gboolean migrate_connect(spice_migrate *mig)
{
- SpiceChannelPrivate *c;
int port, sport;
const char *host;
g_return_val_if_fail(mig != NULL, FALSE);
g_return_val_if_fail(mig->nchannels == 0, FALSE);
- c = SPICE_CHANNEL(mig->src_channel)->priv;
- g_return_val_if_fail(c != NULL, FALSE);
g_return_val_if_fail(mig->session != NULL, FALSE);
spice_session_set_migration_state(mig->session, SPICE_SESSION_MIGRATION_CONNECTING);
More information about the Spice-commits
mailing list