待辦事項 #48377

Qt: help_widget::uclass_max_values() not initializing convert_time

啟用日期: 2023-07-10 10:43 最後更新: 2023-07-15 13:46

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

細節

S3_1, clang-16 analyzer:

../../../../src/client/gui-qt/helpdlg.cpp:1684:7: warning: The left operand of '>' is a garbage value [core.UndefinedBinaryOperatorResult]
      SET_MAX(convert_time);
      ^~~~~~~~~~~~~~~~~~~~~
../../../../src/client/gui-qt/helpdlg.cpp:1679:23: note: expanded from macro 'SET_MAX'
      max->v = max->v > utype->v ? max->v : utype->v

Ticket History (3/4 Histories)

2023-07-10 10:43 Updated by: cazfi
  • New Ticket "Qt: help_widget::uclass_max_values() not initializing convert_time" created
2023-07-10 12:36 Updated by: cazfi
  • 負責人 Update from (無) to cazfi
  • 處理結果 Update from to Accepted
  • 里程碑 Update from (無) to 3.0.9 (closed)
評語

Patch for all branches, including S2_6, attached.

2023-07-15 13:46 Updated by: cazfi
  • 狀態 Update from 開啟 to 關閉
  • 處理結果 Update from Accepted to 修正

編輯

Please login to add comment to this ticket » 登入