Skip to content

src: fix logically dead code reported by Coverity

Value of the nwrite variable will always be less than 0 when it reaches the switch statement because of the previous check, which causes case 0 to never be executed, change the check to allow 0 or less.

Merge request reports

Loading