Ticket #48536

Savegame: Garbage shuffled_player_set

오픈 날짜: 2023-08-24 18:18 마지막 업데이트: 2023-08-26 22:32

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

Details

Clang analyzer, S3_1:

../../../../src/server/savegame/savegame3.c:3653:13: warning: Branch condition evaluates to a garbage value [core.uninitialized.Branch]
        if (!shuffled_player_set[i]) {
            ^~~~~~~~~~~~~~~~~~~~~~~

Similar error for savegame2.c

Ticket History (3/5 Histories)

2023-08-24 18:18 Updated by: cazfi
  • New Ticket "Savegame: Garbage shuffled_player_set" created
2023-08-24 18:46 Updated by: cazfi
  • 소유자 Update from (None) to cazfi
  • Resolution Update from None to Accepted
2023-08-26 22:32 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