Ticket #42698

gtk: citydlg.c 'total' set but not used

Open Date: 2021-08-08 20:25 Last Update: 2021-08-13 11:15

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
3

Details

Seen in S2_6 with clang-13 development version:

../../../../src/client/gui-gtk-2.0/citydlg.c:1788:7: error: variable 'total' set but not used -Werror,-Wunused-but-set-variable
int total, item, targets_used;

Ticket History (3/8 Histories)

2021-08-08 20:25 Updated by: cazfi
  • New Ticket "gtk2: citydlg.c 'total' set but not used" created
2021-08-08 20:25 Updated by: cazfi
  • Details Updated
2021-08-08 20:46 Updated by: cazfi
  • Component Update from (None) to Gtk3.22-client
  • Summary Updated
Comment

All gtk clients affected.

2021-08-08 21:43 Updated by: cazfi
  • Resolution Update from None to Accepted
2021-08-13 11:15 Updated by: cazfi
  • Status Update from Open to Closed
  • Owner Update from (None) to cazfi
  • Resolution Update from Accepted to Fixed

Edit

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