Tíquete #45233

sdl2: Clang analyzer warning about division by zero non_open_size

: 2022-07-25 21:59 Última Atualização: 2022-08-14 23:20

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
1

Details

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
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
  • Marco Update from (Nenhum) to 3.0.4 (fechado)
2022-08-14 23:20 Updated by: cazfi
  • Estado Update from Aberto to Fechado
  • Resolução Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Login