From b567bf0f60202425ccd3b820cd1cf54cd0476360 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 3 Sep 1996 09:35:31 +0000 Subject: [PATCH] kill useless code --- bin/rcp/util.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/bin/rcp/util.c b/bin/rcp/util.c index 1aac3b8be62..aebe3b257ca 100644 --- a/bin/rcp/util.c +++ b/bin/rcp/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.2 1996/06/23 14:20:57 deraadt Exp $ */ +/* $OpenBSD: util.c,v 1.3 1996/09/03 09:35:31 deraadt Exp $ */ /* $NetBSD: util.c,v 1.2 1995/03/21 08:19:08 cgd Exp $ */ /*- @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94"; #else -static char rcsid[] = "$OpenBSD: util.c,v 1.2 1996/06/23 14:20:57 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: util.c,v 1.3 1996/09/03 09:35:31 deraadt Exp $"; #endif #endif /* not lint */ @@ -62,9 +62,6 @@ char * colon(cp) char *cp; { - if (*cp == ':') /* Leading colon is part of file name. */ - return (0); - for (; *cp; ++cp) { if (*cp == ':') return (cp); @@ -116,7 +113,7 @@ susystem(s, userid) char *s; { sig_t istat, qstat; - int status, w; + int status; pid_t pid; pid = vfork(); -- 2.20.1