Ticket #44395

select_tgt_extra(): error: 'default_extra' may be used uninitialized in this function

Date d'ouverture: 2022-04-16 10:28 Dernière mise à jour: 2022-05-01 06:07

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

Détails

Seen in S3_0 gtk3-client (for some reason only in debug+ndebug build):

../../../../src/client/gui-gtk-3.0/unitselextradlg.c: In function 'select_tgt_extra':
../../../../src/client/gui-gtk-3.0/unitselextradlg.c:232:75: error: 'default_extra' may be used uninitialized in this function (-Werror=maybe-uninitialized)

232 | g_object_set_data(G_OBJECT(dlg), "target", GINT_TO_POINTER(default_extra->id));

Ticket History (3/6 Histories)

2022-04-16 10:28 Updated by: cazfi
  • New Ticket "select_tgt_extra(): error: 'default_extra' may be used uninitialized in this function" created
2022-04-19 10:44 Updated by: cazfi
  • Propriétaire Update from (Aucun) to cazfi
  • Résolution Update from Aucun to Accepted
2022-05-01 06:07 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