Tíquete #44569

local_ave_elevation() clang analyzer div by zero warning

: 2022-05-12 21:13 Última Atualização: 2022-05-30 01:06

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

Details

Clang analyzer thinks that 'n' in local_ave_elevation() could be zero when dividing by it. It can't as there's the center tile even in one tile map. Silence the warning anyway.

Ticket History (3/5 Histories)

2022-05-12 21:13 Updated by: cazfi
  • New Ticket "local_ave_elevation() clang analyzer div by zero warning" created
2022-05-15 13:39 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
  • Marco Update from (Nenhum) to 3.0.2 (fechado)
2022-05-30 01:06 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