Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mac68k/obio Wrap an otherwise unused variable insid...



details:   https://anonhg.NetBSD.org/src/rev/e2e7990b1caf
branches:  trunk
changeset: 477624:e2e7990b1caf
user:      kleink <kleink%NetBSD.org@localhost>
date:      Mon Oct 25 14:31:50 1999 +0000

description:
Wrap an otherwise unused variable inside #ifdef DIAGNOSTIC; from Ben Mesander
in PR port-mac68k/8513.

diffstat:

 sys/arch/mac68k/obio/iwm_fd.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r e14196fd5333 -r e2e7990b1caf sys/arch/mac68k/obio/iwm_fd.c
--- a/sys/arch/mac68k/obio/iwm_fd.c     Mon Oct 25 14:14:42 1999 +0000
+++ b/sys/arch/mac68k/obio/iwm_fd.c     Mon Oct 25 14:31:50 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iwm_fd.c,v 1.2 1999/03/27 05:45:19 scottr Exp $        */
+/*     $NetBSD: iwm_fd.c,v 1.3 1999/10/25 14:31:50 kleink Exp $        */
 
 /*
  * Copyright (c) 1997, 1998 Hauke Fath.  All rights reserved.
@@ -1628,8 +1628,10 @@
 fdstart_Exit(fd)
        fd_softc_t *fd;
 {
+       struct buf *bp;
+#ifdef DIAGNOSTIC
        int i;
-       struct buf *bp;
+#endif
        
        invalidateCylinderCache(fd);
 



Home | Main Index | Thread Index | Old Index