Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/getrange.c: getrange(): Small refactor
Set *has_{min,max} = false at the begining, so we only need to set them to true later. This means we set these variables on error, which we didn't do before, but since we return -1 on error and ignore (don't use) the pointees at call site, that's fine. Signed-off-by: Alejandro Colomar <[email protected]>
- Loading branch information