Ticket #47891

sdl2: Dead 'pBuf' assignments in diplodlg.c

Date d'ouverture: 2023-04-22 00:55 Dernière mise à jour: 2023-04-24 08:51

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

Détails

As clang analyzer reports, sdl2-client two S3_0 diplodlg.c functions assign t 'pBuf' only to overwrite with a new value a bit later, and not using it in between. Functions are popup_war_dialog() (line 1431) and popup_diplomacy_dialog() (line 1636)

Ticket History (3/5 Histories)

2023-04-22 00:55 Updated by: cazfi
  • New Ticket "sdl2: Dead 'pBuf' assignments in diplodlg.c" created
2023-04-22 01:06 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2023-04-24 08:51 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Connexion