Ticket #46204

check_city_migrations_player() clang analyzer warning about city_owner(NULL)

Date d'ouverture: 2022-12-05 19:37 Dernière mise à jour: 2022-12-19 14:41

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
1

Détails

Clang analyzer thinks that 'nname = nation_adjective_for_player(city_owner(best_city_world));' in check_city_migrations_player() might get called with NULL 'best_city_world'.

Ticket History (3/4 Histories)

2022-12-05 19:37 Updated by: cazfi
  • New Ticket "check_city_migrations_player() clang analyzer warning about city_owner(NULL)" created
2022-12-17 02:12 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
  • Jalon Update from (Aucun) to 3.0.6 (atteints)
2022-12-19 14:41 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion