[SERVER-19579] Coverity analysis defect 73456: RW.INCOMPATIBLE_OPERANDS Created: 24/Jul/15  Updated: 08/Jan/24  Resolved: 15/Sep/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Coverity Collector User Assignee: Mira Carey
Resolution: Won't Fix Votes: 0
Labels: coverity
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platform 9 (09/18/15)
Participants:

 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);


Generated at Thu Feb 08 03:51:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.