From 54ace5dec5ce0e76ca00f507fec5714d4fb37446 Mon Sep 17 00:00:00 2001 From: Lexxie9952 <32187224+Lexxie9952@users.noreply.github.com> Date: Sat, 10 Feb 2024 06:51:24 -0800 Subject: [PATCH] RM #197 author: @cazfi build failure: startpos_raw_nations() fc_assert_ret_val() tries to return FALSE, though the function return type is a pointer. --- freeciv/freeciv/common/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freeciv/freeciv/common/map.c b/freeciv/freeciv/common/map.c index 182b2235a..9ec710fd6 100644 --- a/freeciv/freeciv/common/map.c +++ b/freeciv/freeciv/common/map.c @@ -1738,7 +1738,7 @@ bool startpos_is_excluding(const struct startpos *psp) ***********************************************************************/ const struct nation_hash *startpos_raw_nations(const struct startpos *psp) { - fc_assert_ret_val(NULL != psp, FALSE); + fc_assert_ret_val(NULL != psp, NULL); return psp->nations; }