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 #855366

Qt: menus_sensitive() DISBAND key erroneously fallthroughs to CONNECT_RAIL

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

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

0%

Estimated time:

Description

Seen with clang and -Wimplicit-fallthrough:

../../../../src/client/gui-qt/menu.cpp:2225:7: error: unannotated fall-through between switch labels
[-Werror,-Wimplicit-fallthrough]
case CONNECT_RAIL:
^
../../../../src/client/gui-qt/menu.cpp:2225:7: note: insert '[[clang::fallthrough]];' to silence this
warning
case CONNECT_RAIL:
^
[[clang::fallthrough]];
../../../../src/client/gui-qt/menu.cpp:2225:7: note: insert 'break;' to avoid fall-through
case CONNECT_RAIL:
^
break;

History

#1 Updated by Marko Lindqvist about 1 year ago

#2 Updated by Marko Lindqvist about 1 year ago

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

Also available in: Atom PDF