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

Investigate unused variable removal

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Critical - P2
    • Resolution: Fixed
    • None
    • 3.1.3
    • Sharding
    • None
    • Fully Compatible

    Description

      The unused variable breaks varias compiles like so:

      src/mongo/db/dbcommands.cpp:607:36: error: unused variable 'shardVersionAtStart' [-Werror,-Wunused-variable]
                      const ChunkVersion shardVersionAtStart = shardingState.getVersion(ns);
                                         ^
      1 error generated.
      

      Attachments

        Issue Links

          Activity

            People

              kaloian.manassiev@mongodb.com Kaloian Manassiev
              scotthernandez Scott Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: