Ticket #48678

daidiplomacy.c garbage worth[tech]

Open Date: 2023-09-20 00:19 Last Update: 2023-11-03 04:57

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

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 History (3/6 Histories)

2023-09-20 00:19 Updated by: cazfi
  • New Ticket "daidiplomacy.c garbage worth[tech]" created
2023-09-20 00:20 Updated by: cazfi
  • Details Updated
2023-10-30 06:27 Updated by: cazfi
  • Owner Update from (None) to cazfi
  • Resolution Update from None to Accepted
  • Milestone Update from (None) to 3.0.9 (closed)
2023-11-03 04:57 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