mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-26 16:18:31 +00:00
Remove redundant NULL pointer comparison.
Reported by: PVS-Studio (V595) in D5245 Differential Revision: D5245
This commit is contained in:
parent
82ed3cb0e4
commit
39dade169b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296299
@ -1951,10 +1951,6 @@ ipf_p_ftp_epsv(softf, fin, ip, nat, ftp, dlen)
|
||||
ap += *s++ - '0';
|
||||
}
|
||||
|
||||
if (!s) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (*s == '|')
|
||||
s++;
|
||||
if (*s == ')')
|
||||
|
Loading…
Reference in New Issue
Block a user