Blame SOURCES/0025-channel-main-Remove-unused-declaration.patch

542743
From 41c8a60e5e9451080863d2f87bb0f5007a71cc34 Mon Sep 17 00:00:00 2001
542743
From: Frediano Ziglio <freddy77@gmail.com>
542743
Date: Tue, 4 Aug 2020 15:50:03 +0100
542743
Subject: [PATCH] channel-main: Remove unused declaration
542743
542743
OldRedMigrationBegin is not used. Last usage removed in
542743
542743
  commit f944ad6935f12efe47f78cbde1c5e6db31442597
542743
542743
    More cleanup for old protocol support
542743
542743
    Support for protocol version 1 was dropped in commit f77a1d50.
542743
542743
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
542743
---
542743
 src/channel-main.c | 10 ----------
542743
 1 file changed, 10 deletions(-)
542743
542743
diff --git a/src/channel-main.c b/src/channel-main.c
542743
index e944771..3dd94a2 100644
542743
--- a/src/channel-main.c
542743
+++ b/src/channel-main.c
542743
@@ -2326,16 +2326,6 @@ static gboolean main_migrate_handshake_done(gpointer data)
542743
     return FALSE;
542743
 }
542743
 
542743
-#ifdef __GNUC__
542743
-typedef struct __attribute__ ((__packed__)) OldRedMigrationBegin {
542743
-#else
542743
-typedef struct __declspec(align(1)) OldRedMigrationBegin {
542743
-#endif
542743
-    uint16_t port;
542743
-    uint16_t sport;
542743
-    char host[0];
542743
-} OldRedMigrationBegin;
542743
-
542743
 /* main context */
542743
 static gboolean migrate_connect(gpointer data)
542743
 {
542743
-- 
542743
2.28.0
542743