From 02c860892581faf120c9894f586144d7b807b055 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Tue, 27 Dec 2022 23:14:02 +0200
Subject: [PATCH 21/21] Fix dead assignment on rscompat_postprocess()

See osdn #46373

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 server/rscompat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/rscompat.c b/server/rscompat.c
index 9576b6a13b..54574dd624 100644
--- a/server/rscompat.c
+++ b/server/rscompat.c
@@ -1030,7 +1030,7 @@ void rscompat_postprocess(struct rscompat_info *info)
 
     /* The probability that "Steal Maps" and "Steal Maps Escape" steals the
      * map of a tile has moved to the ruleset. */
-    peffect = effect_new(EFT_MAPS_STOLEN_PCT, -50, NULL);
+    effect_new(EFT_MAPS_STOLEN_PCT, -50, NULL);
 
     /* The rule that "Recycle Unit"'s unit shield value is 50% has moved to
      * the ruleset. */
-- 
2.35.1