Skip to content

Commit 9f0427a

Browse files
committed
Ignore the golangci/gosec G115 warning
Change-Id: I0db56cb0a5f9ab6e815e2480ec0b66d7061b23d3 Signed-off-by: Cosmin Cojocar <[email protected]>
1 parent 58dc764 commit 9f0427a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analyzers/conversion_overflow.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ func updateResultFromBinOp(result *rangeResult, binOp *ssa.BinOp, instr *ssa.Con
391391
result.maxValue = uint(min)
392392
}
393393
if max <= math.MaxInt {
394-
result.minValue = int(max)
394+
result.minValue = int(max) //nolint:gosec
395395
}
396396
}
397397
}

0 commit comments

Comments
 (0)