[Freeciv-tickets] [freeciv] #45679: savegame3.c: dead 'i' assignment in multipliers order saving

Back to archive index
OSDN Ticket System norep****@osdn*****
Thu Sep 22 02:00:08 JST 2022


#45679: savegame3.c: dead 'i' assignment in multipliers order saving

  Open Date: 2022-09-21 11:55
Last Update: 2022-09-21 20:00

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

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

Last Changes/Comment on this Ticket:
2022-09-21 20:00 Updated by: cazfi
 * Summary Updated


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

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: 3.0.4
     Component: Server
      Severity: 5 - Medium
    Resolution: Accepted
---------------------------------------------------------------------

Ticket details:

As reported by clang analyzer (from S3_0) savegame3.c:1777 "i = 0;" is a dead assignment. That block does not use 'i' as a counter, but 'multiplier_index(pmul)'


-- 
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/45679
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45679



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