Date: Wed, 16 Mar 2016 01:48:32 +0000 (UTC) From: Cy Schubert <cy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r296923 - stable/10/sys/contrib/ipfilter/netinet Message-ID: <201603160148.u2G1mWT1063991@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 == ')')
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603160148.u2G1mWT1063991>