Closed jiridanek closed 2 weeks ago
over all, maybe I do like the fix of just removing the check better... anyways, yeah, I won't be overthinking this any more
Attention: Patch coverage is 50.00000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 62.7%. Comparing base (
1b1d4b9
) to head (e54fd44
). Report is 4 commits behind head on main.
Alternate fix to
I saw that Coverity warning a long time ago already, but I always felt unsure about depending on a variable being of a certain type. Here's a solution that should pass Coverity and it still ensures that
n
is not negative.Do with it as you will.
Fixes #1536