From 1d2e95365061b1a1cb3bcea881f07bf55561c6b4 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sat, 17 Dec 2022 13:41:42 +0200 Subject: [PATCH 27/27] Fix gcc-13 compiler warning See osdn #46300 Signed-off-by: Marko Lindqvist --- server/maphand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/maphand.c b/server/maphand.c index 13df18da13..c58ba90721 100644 --- a/server/maphand.c +++ b/server/maphand.c @@ -2305,7 +2305,7 @@ void map_claim_base(struct tile *ptile, struct extra_type *pextra, { struct base_type *pbase; int units_num = 0; - bv_player *could_see_unit; + bv_player *could_see_unit BAD_HEURISTIC_INIT(NULL); if (!tile_has_extra(ptile, pextra)) { return; -- 2.35.1