From cc56fb877f2623ca3b0eb30e945a9538e9129443 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 7 Jun 2001 13:53:23 +0000 Subject: Better warning fix, in line with the rest of the code (__attribute((__unused__)) denotes parameters that MAY be unused in the code, e.g., it's mostly a `shut up warnings' device). --- usr.bin/make/arch.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/usr.bin/make/arch.c b/usr.bin/make/arch.c index 4d055b5eb03..45a0b42c733 100644 --- a/usr.bin/make/arch.c +++ b/usr.bin/make/arch.c @@ -1,5 +1,5 @@ /* $OpenPackages$ */ -/* $OpenBSD: arch.c,v 1.48 2001/06/05 11:59:10 espie Exp $ */ +/* $OpenBSD: arch.c,v 1.49 2001/06/07 13:53:22 espie Exp $ */ /* $NetBSD: arch.c,v 1.17 1996/11/06 17:58:59 christos Exp $ */ /* @@ -901,15 +901,14 @@ Arch_Touch(gn) /*ARGSUSED*/ void Arch_TouchLib(gn) - GNode *gn; /* The node of the library to touch */ + GNode *gn UNUSED; /* The node of the library to touch */ + /* ^ Non RANLIBMAG does nothing with it */ { #ifdef RANLIBMAG if (gn->path != NULL) { ArchTouch(gn->path, RANLIBMAG); set_times(gn->path); } -#else - gn = gn; #endif } -- cgit v1.2.3