From 8177fd79ba21d8a6bdb086d925814597f60b9f7d Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 5 Dec 2022 18:01:43 +0200 Subject: [PATCH 42/42] city_rally_point_receive(): Give parameters nonnull attribute See osdn #46200 Signed-off-by: Marko Lindqvist --- common/city.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/city.h b/common/city.h index 8fa671532b..4de217040d 100644 --- a/common/city.h +++ b/common/city.h @@ -813,7 +813,8 @@ 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); + struct city *pcity) + fc__attribute((nonnull (1, 2))); #ifdef __cplusplus } -- 2.35.1