diff options
author | dzwdz | 2022-08-01 16:11:41 +0200 |
---|---|---|
committer | dzwdz | 2022-08-01 16:11:41 +0200 |
commit | 24a5f2bf46432aef70fd8d2ebf6c7ba94a6ce5a2 (patch) | |
tree | 49ed84a9e582a6397d0863ba61c6e1b03cde2b09 /src/shared | |
parent | aaf76cb6139267482aeef9215d514229058f0042 (diff) |
fsutil: remove debug `true ||` in if condition
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/fsutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/fsutil.c b/src/shared/fsutil.c index 45a64f6..a03ed0c 100644 --- a/src/shared/fsutil.c +++ b/src/shared/fsutil.c @@ -35,7 +35,7 @@ void fs_normslice(long *restrict offset, size_t *restrict length, size_t max, bo * so their sum must not overflow it. */ if ((size_t)*offset <= max) { size_t maxlen = max - (size_t)*offset; - if (true || *length > maxlen) + if (*length > maxlen) *length = maxlen; } else { /* regular EOF */ |