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

Unused variable warning in mongo/util/uuid.cpp

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • 3.5.8
    • 3.5.9
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-07-10

    Description

      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
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: