Date: Sun, 19 Apr 2015 09:07:58 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r281734 - head/usr.sbin/inetd Message-ID: <201504190907.t3J97wiZ063971@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Sun Apr 19 09:07:57 2015 New Revision: 281734 URL: https://svnweb.freebsd.org/changeset/base/281734 Log: identd: remove redundant zeroing se_rpc_lowvers was set to 0 twice, so remove one of them I can not find any other variable which they may have been a typo of. Reported by: gcc5.1 Modified: head/usr.sbin/inetd/inetd.c Modified: head/usr.sbin/inetd/inetd.c ============================================================================== --- head/usr.sbin/inetd/inetd.c Sun Apr 19 08:45:37 2015 (r281733) +++ head/usr.sbin/inetd/inetd.c Sun Apr 19 09:07:57 2015 (r281734) @@ -1752,8 +1752,7 @@ more: memmove(sep->se_proto, sep->se_proto + 4, strlen(sep->se_proto) + 1 - 4); sep->se_rpc = 1; - sep->se_rpc_prog = sep->se_rpc_lowvers = - sep->se_rpc_lowvers = 0; + sep->se_rpc_prog = sep->se_rpc_lowvers = 0; memcpy(&sep->se_ctrladdr4, bind_sa4, sizeof(sep->se_ctrladdr4)); if ((versp = strrchr(sep->se_service, '/'))) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504190907.t3J97wiZ063971>