Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #851873

gtk: gcc-10 warning about uninitialized cmd_status[0] in usdlg_cmd_cursor_changed()

Added by Marko Lindqvist about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
gui-gtk-3.22
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Gcc-10 warns about possible use of uninitialized cmd_status0 in the end of usdlg_cmd_curser_changed() of all gtk clients. Seen in S2_5 and S2_6, latter branches likely affected.
Adding 'default:' that sets cmd_status0 in the switch-case above the function end makes the warning to go away.

History

#2 Updated by Marko Lindqvist about 1 year ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

#3 Updated by Marko Lindqvist about 1 year ago

  • Sprint/Milestone changed from 2.6.2 to 2.5.12

Also available in: Atom PDF