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

Back to archive index
OSDN Ticket System norep****@osdn*****
Thu Oct 27 08:43:48 JST 2022


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

  Open Date: 2022-10-13 03:42
Last Update: 2022-10-27 02:43

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-27 02:43 Updated by: cazfi
 * Status Update from Open to Closed
 * Resolution Update from Accepted to Fixed


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

      Reporter: cazfi
         Owner: cazfi
          Type: Bugs
        Status: Closed
      Priority: 5 - Medium
     MileStone: 3.0.5
     Component: General
      Severity: 5 - Medium
    Resolution: Fixed
---------------------------------------------------------------------

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