[Freeciv-tickets] [freeciv] #42698: gtk: citydlg.c 'total' set but not used

Back to archive index
OSDN Ticket System norep****@osdn*****
Fri Aug 13 11:15:05 JST 2021


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

  Open Date: 2021-08-08 14:25
Last Update: 2021-08-13 05:15

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/42698
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42698

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2021-08-13 05:15 Updated by: cazfi
 * Status Update from Open to Closed
 * Owner Update from (None) to cazfi
 * Resolution Update from Accepted to Fixed


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Closed
      Priority: 5 - Medium
     MileStone: 2.6.6
     Component: Gtk3.22-client
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

Ticket 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 information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/42698
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=42698



More information about the Freeciv-tickets mailing list
Back to archive index