Coverity analysis defect 120211: Identical code for different branches

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Identical code for different branches

      The condition is redundant The same code is executed regardless of the condition
      /src/mongo/db/pipeline/pipeline_test.cpp:79: IDENTICAL_BRANCHES 120211 Ternary expression on condition "mongo::feature_flags::gFeatureFlagChangeStreamsOptimization.isEnabledAndIgnoreFCV()" has identical then and else expressions: "6". Should one of the expressions be modified, or the entire ternary expression replaced?

            Assignee:
            [DO NOT USE] Backlog - Query Execution
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: