#48834: revolution_length(): Dead "turns" assignment Open Date: 2023-10-11 00:25 Last Update: 2023-10-11 00:25 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48834 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48834 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-10-11 00:25 Updated by: cazfi * New Ticket "revolution_length(): Dead "turns" assignment" created --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Bugs Status: Open Priority: 5 - Medium MileStone: 3.0.9 Component: Server Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: S3_1, clang analyzer: ../../../src/server/plrhand.c:418:3: warning: Value stored to 'turns' is never read [deadcode.DeadStores] turns = GAME_DEFAULT_REVOLUTION_LENGTH; /* To avoid compiler warning */ -- 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/48834 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48834