Incidencia #44395

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

Abrir Fecha: 2022-04-16 10:28 Última actualización: 2022-05-01 06:07

Informador:
Propietario:
Tipo:
Estado:
Cerrado
Componente:
Prioridad:
5 - Medium
Gravedad:
5 - Medium
Resolución:
Fixed
Fichero:
3

Details

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
  • Propietario Update from (Ninguno) to cazfi
  • Resolución Update from Ninguno to Accepted
2022-05-01 06:07 Updated by: cazfi
  • Estado Update from Open to Cerrado
  • Resolución Update from Accepted to Fixed

Editar

Please login to add comment to this ticket » Entrar