From d7bf3995a351f71cd4159c950dd0c1ada35116a0 Mon Sep 17 00:00:00 2001
From: Dmitry Rantovov <rantovov5@gmail.com>
Date: Wed, 2 Sep 2026 11:28:27 +0300
Subject: [PATCH 39/39] gtk: Drop the self-assignment at the top of
 spy_steal_popup_shared()

See RM #2214
---
 client/gui-gtk-3.22/action_dialog.c | 2 --
 client/gui-gtk-4.0/action_dialog.c  | 2 --
 2 files changed, 4 deletions(-)

diff --git a/client/gui-gtk-3.22/action_dialog.c b/client/gui-gtk-3.22/action_dialog.c
index ac5cdfb996..2fe2b7bfed 100644
--- a/client/gui-gtk-3.22/action_dialog.c
+++ b/client/gui-gtk-3.22/action_dialog.c
@@ -947,8 +947,6 @@ static void spy_steal_popup_shared(GtkWidget *w, gpointer data)
 {
   struct action_data *args = (struct action_data *)data;
 
-  args->act_id = args->act_id;
-
   struct city *pvcity = game_city_by_number(args->target_city_id);
   struct player *pvictim = NULL;
 
diff --git a/client/gui-gtk-4.0/action_dialog.c b/client/gui-gtk-4.0/action_dialog.c
index f7829284ea..20dc4b2d2a 100644
--- a/client/gui-gtk-4.0/action_dialog.c
+++ b/client/gui-gtk-4.0/action_dialog.c
@@ -943,8 +943,6 @@ static void spy_steal_popup_shared(GtkWidget *w, gpointer data)
 {
   struct action_data *args = (struct action_data *)data;
 
-  args->act_id = args->act_id;
-
   struct city *pvcity = game_city_by_number(args->target_city_id);
   struct player *pvictim = NULL;
 
-- 
2.53.0

