Ticket #45233

sdl2: Clang analyzer warning about division by zero non_open_size

Date d'ouverture: 2022-07-25 21:59 Dernière mise à jour: 2022-08-14 23:20

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

Détails

Clang analyzer gives warning about division by zero from sdl2-client next_prev_city_dlg_callback(). That's not a real bug, as the function is never called when player has zero cities, and there's already an assert against the situation. Will need just minor refactoring the satisfy clang.

Ticket History (3/4 Histories)

2022-07-25 21:59 Updated by: cazfi
  • New Ticket "sdl2: Clang analyzer warning about division by zero non_open_size" created
2022-08-06 10:45 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
  • Jalon Update from (Aucun) to 3.0.4 (atteints)
2022-08-14 23:20 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion