Ticket #48834

revolution_length(): Dead "turns" assignment

오픈 날짜: 2023-10-11 06:25 마지막 업데이트: 2023-10-16 09:14

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
2

Details

S3_1, clang analyzer:

../../../src/server/plrhand.c:418:3: warning: Value stored to 'turns' is never read [deadcode.DeadStores]
  turns = GAME_DEFAULT_REVOLUTION_LENGTH; /* To avoid compiler warning */

Ticket History (3/5 Histories)

2023-10-11 06:25 Updated by: cazfi
  • New Ticket "revolution_length(): Dead "turns" assignment" created
2023-10-11 07:09 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2023-10-16 09:14 Updated by: cazfi
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login