From f6dadfcd987faf3f0749e6f672f30f96fbc45cc0 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 15 Dec 2006 20:22:33 +0000 Subject: [PATCH] fix an unused variable warning. From Anon Ymous --- bin/rcp/util.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/rcp/util.c b/bin/rcp/util.c index ab7ccbffd6f5..df4c2dab91e7 100644 --- a/bin/rcp/util.c +++ b/bin/rcp/util.c @@ -1,4 +1,4 @@ -/* $NetBSD: util.c,v 1.9 2005/03/11 02:55:23 ginsbach Exp $ */ +/* $NetBSD: util.c,v 1.10 2006/12/15 20:22:33 christos Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)util.c 8.2 (Berkeley) 4/2/94"; #else -__RCSID("$NetBSD: util.c,v 1.9 2005/03/11 02:55:23 ginsbach Exp $"); +__RCSID("$NetBSD: util.c,v 1.10 2006/12/15 20:22:33 christos Exp $"); #endif #endif /* not lint */ @@ -174,7 +174,8 @@ allocbuf(BUF *bp, int fd, int blksize) } void -lostconn(int signo) +/*ARGSUSED*/ +lostconn(int signo __unused) { if (!iamremote) warnx("lost connection");