[Freeciv-tickets] [freeciv] #48377: Qt: help_widget::uclass_max_values() not initializing convert_time

Back to archive index
OSDN Ticket System norep****@osdn*****
Mon Jul 10 10:43:33 JST 2023


#48377: Qt: help_widget::uclass_max_values() not initializing convert_time

  Open Date: 2023-07-10 04:43
Last Update: 2023-07-10 04:43

URL for this Ticket:
    https://osdn.net//projects/freeciv/ticket/48377
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48377

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2023-07-10 04:43 Updated by: cazfi
 * New Ticket "Qt: help_widget::uclass_max_values() not initializing convert_time" created


---------------------------------------------------------------------
Ticket Status:

      Reporter: cazfi
         Owner: (None)
          Type: Bugs
        Status: Open
      Priority: 5 - Medium
     MileStone: (None)
     Component: Qt-client
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

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 information of Freeciv project
Freeciv Project is hosted on OSDN

Project URL: https://osdn.net/projects/freeciv/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/freeciv/ticket/48377
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48377



More information about the Freeciv-tickets mailing list
Back to archive index