Skip to content
Snippets Groups Projects
Commit 431c7db3 authored by Sven M. Hallberg's avatar Sven M. Hallberg
Browse files

remove useless/erroneous condition

The offset can never be negative (size_t is unsigned).
And this treated offset = 0 as out of bounds, which is nonsense.
In fact, offset == size is also not invalid (it is the end of file).
parent 9883a543
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment