Ticket #48541

sdl2: real_info_city_report_dialog_update() unused 'w' value

Date d'ouverture: 2023-08-26 23:13 Dernière mise à jour: 2023-08-28 22:53

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

Détails

The last value real_info_city_report_dialog_update() sets to 'w' is never used.
Clang analyzer, S3_1:

../../../../src/client/gui-sdl2/cityrep.c:827:3: warning: Value stored to 'w' is never read [deadcode.DeadStores]
  w += adj_size(2);
  ^    ~~~~~~~~~~~

Ticket History (3/5 Histories)

2023-08-26 23:13 Updated by: cazfi
  • New Ticket "sdl2: real_info_city_report_dialog_update() unused 'w' value" created
2023-08-26 23:51 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2023-08-28 22:53 Updated by: cazfi
  • État Update from Ouvert to Atteints
  • Résolution Update from Accepted to Fixed

Modifier

Please login to add comment to this ticket » Connexion