diff options
author | cy <cy@FreeBSD.org> | 2016-03-02 03:28:57 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2016-03-02 03:28:57 +0000 |
commit | 284e753ba98939b13927c8623439169ceb1a11e4 (patch) | |
tree | 9f414680038d9c16ba2512dd69271383d67f7816 /sys/contrib/ipfilter | |
parent | 48d897bc005911539fe8374a77be1df986bf0d1c (diff) | |
download | FreeBSD-src-284e753ba98939b13927c8623439169ceb1a11e4.zip FreeBSD-src-284e753ba98939b13927c8623439169ceb1a11e4.tar.gz |
Remove redundant NULL pointer comparison.
Reported by: PVS-Studio (V595) in D5245
Differential Revision: D5245
Diffstat (limited to 'sys/contrib/ipfilter')
-rw-r--r-- | sys/contrib/ipfilter/netinet/ip_ftp_pxy.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c b/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c index ff83976..00692b8 100644 --- a/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c +++ b/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c @@ -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 == ')') |