D14941: Proper silencing for the switch-case fall-through warning
Eric Dejouhanet
noreply at phabricator.kde.org
Mon Aug 20 08:07:51 BST 2018
TallFurryMan created this revision.
TallFurryMan added reviewers: mutlaqja, wreissenberger.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
TallFurryMan requested review of this revision.
REVISION SUMMARY
This changeset silences the gcc warning for the case fall-through.
No idea if this will work for msvc, but that doesn't change much compared to the previous state.
C++17 can use "<https://phabricator.kde.org/w/fallthrough/>;" to specify an execution path that intentionally falls through the following case.
TEST PLAN
Without this change, gcc issues a warning on the case fall-through in function unParkMount.
With this change fall-through is acknlowledged and the warning doesn't appear.
REPOSITORY
R321 KStars
BRANCH
bugfix__proper_fallthrough_warning_silencing (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D14941
AFFECTED FILES
kstars/ekos/scheduler/scheduler.cpp
To: TallFurryMan, mutlaqja, wreissenberger
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180820/44aeac22/attachment.html>
More information about the kde-edu
mailing list