#48570: barycentric_sort(): Zero-size VLA Open Date: 2023-09-03 05:46 Last Update: 2023-09-03 06:02 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48570 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48570 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-09-03 06:02 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.9 Component: Client common Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Clang analyzer, S3_1: ../../../src/client/reqtree.c:704:3: warning: Declared variable-length array (VLA) has zero size [core.VLASize] struct node_and_float T[tree->layer_size[layer]]; ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~ -- 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/48570 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48570