#43868: fc_strrep_resize(): 'success' set, but never used in FREECIV_NDEBUG build Open Date: 2022-02-15 07:01 Last Update: 2022-04-23 00:29 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43868 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43868 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-04-23 00:29 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.2 Component: General Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Building with both FREECIV_NDEBUG (to disable asserts) and --enable-debug (to have all the compiler warnings). S3_0 compile ends to: ../../../src/utility/support.c: In function ‘fc_strrep_resize’: ../../../src/utility/support.c:674:8: error: variable ‘success’ set but not used (-Werror=unused-but-set-variable) 674 | bool success; -- 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/43868 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43868