From 38f02f3baedec35096d9b0a3e22647f9a4d3b5f7 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Thu, 15 Dec 2022 18:03:45 +0200 Subject: [PATCH 21/21] city_rally_point_receive(): Remove nonnull attribute from 'pcity' Only 'packet' should have it. See osdn #46278 Signed-off-by: Marko Lindqvist --- common/city.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/city.h b/common/city.h index 4de217040d..a17cc455a7 100644 --- a/common/city.h +++ b/common/city.h @@ -814,7 +814,7 @@ void city_set_ai_data(struct city *pcity, const struct ai_type *ai, void city_rally_point_clear(struct city *pcity); void city_rally_point_receive(const struct packet_city_rally_point *packet, struct city *pcity) - fc__attribute((nonnull (1, 2))); + fc__attribute((nonnull (1))); #ifdef __cplusplus } -- 2.35.1