Skip to content

Commit

Permalink
RM #197
Browse files Browse the repository at this point in the history
author: @cazfi

build failure: startpos_raw_nations() fc_assert_ret_val() tries to return FALSE, though the function return type is a pointer.
  • Loading branch information
Lexxie9952 committed Feb 10, 2024
1 parent dfcbc77 commit 54ace5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freeciv/freeciv/common/map.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 54ace5d

Please sign in to comment.