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

Unused variable warning in mongo/util/uuid.cpp

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 3.5.9
    • Affects Version/s: 3.5.8
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-07-10

      The UUID::parse method uses exceptionToStatus even though the exception is already available in the catch block which results in this warning on MSVC:

      src\mongo\util\uuid.cpp(56): warning C4101: 'e': unreferenced local variable
      

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: