summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-03 09:35:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-03 09:35:32 +0000
commitb66297c71e8cbb3a37dc80ed03010156701d3fa8 (patch)
treed16bd0e2ff4b4624fb9e1186d144b2e8471cf0b8 /bin
parent24389642af83e61858057b41cf41322db0308a6f (diff)
kill useless code
Diffstat (limited to 'bin')
-rw-r--r--bin/rcp/util.c9
1 files 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();