#48678: daidiplomacy.c garbage worth[tech] Open Date: 2023-09-19 18:19 Last Update: 2023-11-02 21:57 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48678 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48678 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-11-02 21:57 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.9 Component: AI Severity: 5 - Medium Resolution: Fixed --------------------------------------------------------------------- Ticket details: S3_1, clang analyzer: ../../../../src/ai/default/daidiplomacy.c:1184:21: warning: The left operand of '<=' is a garbage value [core.UndefinedBinaryOperatorResult] if (worth[tech] <= 0) { -- 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/48678 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48678