summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2020-09-16 10:42:32 +0100
committerFrediano Ziglio <freddy77@gmail.com>2022-01-28 10:26:24 +0000
commitd5c01a322f488856f96325f281b59e5ec5d30ba4 (patch)
treeeb6977b9d0b137e45199068594886f06efcc4ba3
parent3d56b0276d97eb04522f92472acf60d0be52d6ba (diff)
channel-main: Remove unused code
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
-rw-r--r--src/channel-main.c3
1 files changed, 0 insertions, 3 deletions
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);