待辦事項 #47765

unit_move() dead 'pcity' assignment

啟用日期: 2023-04-05 05:07 最後更新: 2023-04-10 19:50

回報者:
負責人:
類型:
狀態:
關閉
元件:
里程碑:
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
修正
檔案:
1

細節

As noted by clang analyzer, first 'pcity' assignment in unit_move(), line 4144, is dead code. The value is never read from 'pcity' (though it's used directly as the if() condition)

Ticket History (3/5 Histories)

2023-04-05 05:07 Updated by: cazfi
  • New Ticket "unit_move() dead 'pcity' assignment" created
2023-04-05 05:09 Updated by: cazfi
2023-04-05 12:45 Updated by: cazfi
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
2023-04-10 19:50 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入