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

Investigate unused variable removal

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

      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@mongodb.com Kaloian Manassiev
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: