Tíquete #46543

expl_act_not_enabl() repetitive unit_owner(punit)

: 2023-01-19 00:20 Última Atualização: 2023-01-22 12:17

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

Details

S3_0 clang analyzer warning shows that expl_act_not_enabl() has multiple unit_owner(punit) calls while it already knows the result (but the compiler can't know that the owner is the same, thus being unable to optimize and also causing clang analyzer to consider the possibility that unit_owner() suddenly returns NULL)

Ticket History (3/6 Histories)

2023-01-19 00:20 Updated by: cazfi
  • New Ticket "expl_act_not_enabl() repetitive unit_owner(punit)" created
2023-01-19 00:55 Updated by: cazfi
  • Dono Update from (Nenhum) to cazfi
  • Resolução Update from Nenhum to Accepted
2023-01-22 12:17 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