Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-55204

Opt in to -Wimplicit-fallthrough in src/mongo

    XMLWordPrintable

    Details

      Description

      This is a very easy bug to accidentally type, and can be hard to notice in code review. There are only a handful of current violations. I haven't checked if any are bugs, but even if they aren't, it seems like it would be easier for the reader to have an explicit [[fallthrough]] annotation.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-servicearch Backlog - Service Architecture
            Reporter:
            redbeard0531 Mathias Stearn
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: