Tíquete #45961

map_claim_base(): Allocate could_see_unit only when needed

: 2022-10-24 13:52 Última Atualização: 2022-11-18 11:06

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

Details

could_see_unit in map_claim_base() is only used when pextra->eus != EUS_NORMAL. Also allocate it only in those cases.

Clang analyzer warning made me to look at that code, but this change (alone) is somewhat unlikely to fix the warning.

Ticket History (3/4 Histories)

2022-10-24 13:52 Updated by: cazfi
  • New Ticket "map_claim_base(): Allocate could_see_unit only when needed" created
2022-11-12 22:41 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2022-11-18 11: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