Project

General

Profile

Actions

Improvements #10954

open

Investigate suspicious fallthrough

Added by Roel Standaert over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
09/19/2022
Due date:
% Done:

0%

Estimated time:

Description

When working on issue #10953 I marked some fallthroughs as suspicious, we should take a closer look at them to verify if these are accidental or deliberate. They are all marked with // FIXME: suspicious fallthrough, and are in:

  • src/Wt/Chart/WAbstractGridData.C: WAbstractGridData::updateGL
  • src/Wt/WTime.C: WTime::formatToRegExp
  • src/http/WtReply.C: WtReply::consumeWebSocketMessage
  • src/web/WebSession.C: WebSession::getEventType
  • src/Wt/Dbo/Query.C: Wt::Dbo::Impl::addLimitQuery

Related issues 1 (0 open1 closed)

Related to Improvements #10953: Explicitly mark fallthrough in switch statementsClosedRoel Standaert09/19/2022

Actions
Actions #1

Updated by Roel Standaert over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Roel Standaert over 1 year ago

Actions

Also available in: Atom PDF