From 047338ae8a4a2954e70193f41c3f2c187a4def32 Mon Sep 17 00:00:00 2001 From: eadler Date: Sun, 19 Apr 2015 09:07:57 +0000 Subject: 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 --- usr.sbin/inetd/inetd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c index c48f33c..2109b1c 100644 --- a/usr.sbin/inetd/inetd.c +++ b/usr.sbin/inetd/inetd.c @@ -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, '/'))) { -- cgit v1.1