mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 01:59:38 -04:00
Remove two checks unneeded now (can't happens)
This commit is contained in:
parent
45892fd855
commit
4fd8a4cf24
1 changed files with 0 additions and 4 deletions
|
|
@ -236,14 +236,10 @@ _fseeko(fp, offset, whence, ltest)
|
|||
goto abspos;
|
||||
curoff += fp->_r; /* kill off ungetc */
|
||||
n = fp->_extra->_up - fp->_bf._base;
|
||||
if (curoff < 0 && -((off_t)n) < OFF_MIN - curoff)
|
||||
goto abspos;
|
||||
curoff -= n;
|
||||
n += fp->_ur;
|
||||
} else {
|
||||
n = fp->_p - fp->_bf._base;
|
||||
if (curoff < 0 && -((off_t)n) < OFF_MIN - curoff)
|
||||
goto abspos;
|
||||
curoff -= n;
|
||||
n += fp->_r;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue