Project

General

Profile

Actions

Bug #1257

closed

worklist_change_build_target() 'purge' ignored for unit targets

Added by Marko Lindqvist 16 days ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Category:
Server
Target version:
Start date:
03/19/2025
Due date:
% Done:

0%

Estimated time:

Description

Clang analyzer:

../../../src/server/cityturn.c:2277:11: warning: Value stored to 'purge' is never read [deadcode.DeadStores]
2277 | purge = worklist_item_postpone_req_vec(&target, pcity, pplayer, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2278 | saved_id); | ~~~~~~~


Files

Actions

Also available in: Atom PDF