go icon indicating copy to clipboard operation
go copied to clipboard

Coverity scan - Operands don't affect result

Open raghvendra-dixit opened this issue 2 years ago • 0 comments

File: https://github.com/ugorji/go/blob/master/codec/json.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.​jsonParseInteger([]byte): An operation with non-constant operands that computes a result with constant value

screenshot: image

raghvendra-dixit avatar Aug 02 '22 21:08 raghvendra-dixit