Investigate unused variable removal

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Critical - P2
    • 3.1.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.
      

              Assignee:
              Kaloian Manassiev
              Reporter:
              Scott Hernandez (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: