Unused variable warning in mongo/util/uuid.cpp

XMLWordPrintableJSON

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

      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
              Reporter:
              Kaloian Manassiev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: