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

Coverity analysis defect 73456: RW.INCOMPATIBLE_OPERANDS

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Testing Infrastructure
    • Fully Compatible
    • ALL
    • Platform 9 (09/18/15)

    Description

      RW.INCOMPATIBLE_OPERANDS

      Defect 73456 (STATIC_C)
      Checker RW.INCOMPATIBLE_OPERANDS (subcategory none)
      File: /src/mongo/scripting/mozjs/wraptype.h
      Parse Warning (no function name available)
      /src/mongo/scripting/mozjs/wraptype.h, line: 365
      operand types are incompatible ("<unnamed>" and "std::nullptr_t")

                  _installConstructor(T::construct != BaseInfo::construct ? smUtils::construct<T> : nullptr);

      /src/mongo/scripting/mozjs/wraptype.h, line: 365
      During compilation of file '/data/src/mongo.master/src/mongo/scripting/mozjs/implscope.cpp'

                  _installConstructor(T::construct != BaseInfo::construct ? smUtils::construct<T> : nullptr);

      /src/mongo/scripting/mozjs/implscope.cpp, line: 675
      detected during instantiation of "void mongo::mozjs::WrapType<T>::install(JS::HandleObject) [with T=mongo::mozjs::BinDataInfo]" at line 675 of "src/mongo/scripting/mozjs/implscope.cpp"

              _binDataProto.install(_global);

      Attachments

        Activity

          People

            mira.carey@mongodb.com Mira Carey
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: