Author: cy
Date: Wed Mar 16 01:48:32 2016
New Revision: 296923
URL: https://svnweb.freebsd.org/changeset/base/296923
Log:
MFC r296299 - Remove redundant NULL pointer comparison.
Reported by: PVS-Studio (V595) in Differential Revision D5245
Modified:
stable/10/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c
==============================================================================
--- stable/10/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c Wed Mar 16 01:41:55
2016 (r296922)
+++ stable/10/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c Wed Mar 16 01:48:32
2016 (r296923)
@@ -1951,10 +1951,6 @@ ipf_p_ftp_epsv(softf, fin, ip, nat, ftp,
ap += *s++ - '0';
}
- if (!s) {
- return 0;
-}
-
if (*s == '|')
s++;
if (*s == ')')
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"