go
go copied to clipboard
SAST: coverity scan : Operands don't affect result
As part of coverity scan in file msgpack.go
:
Details:
- The expression's value does not depend on the operands; often, this represents an inadvertent logic error. In github.com/ugorji/go/codec.msgpackDecDriver.DecodeInt64(int64): An operation with non-constant operands that computes a result with constant value
- The expression's value does not depend on the operands; often, this represents an inadvertent logic error. In github.com/ugorji/go/codec.msgpackDecDriver.DecodeNaked(): An operation with non-constant operands that computes a result with constant value.
- The expression's value does not depend on the operands; often, this represents an inadvertent logic error. In github.com/ugorji/go/codec.msgpackDecDriver.DecodeUint64(uint64): An operation with non-constant operands that computes a result with constant value.
- The expression's value does not depend on the operands; often, this represents an inadvertent logic error. In github.com/ugorji/go/codec.mpdesc(byte, string): An operation with non-constant operands that computes a result with constant value
Screenshots:
1.
2.
3.
4.