[Freeciv-tickets] [freeciv] #45848: fz_from_file() dead assignment of 'method'

Back to archive index
OSDN Ticket System norep****@osdn*****
Sat Oct 22 08:15:07 JST 2022


#45848: fz_from_file() dead assignment of 'method'

  Open Date: 2022-10-13 03:42
Last Update: 2022-10-22 02:15

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

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

Last Changes/Comment on this Ticket:
2022-10-22 02:15 Updated by: cazfi
 * Owner Update from (None) to cazfi
 * Resolution Update from None to Accepted


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

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

Ticket details:

fz_from_file() sets 'method' to FZ_BZIP2 already before it has tested if the file to read is bz2 one. That assignment is never used - it gets overwritten with the correct value.

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



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