Source-Changes-HG archive

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

[src/trunk]: src/sys/kern fix unused



details:   https://anonhg.NetBSD.org/src/rev/2865b4578c3d
branches:  trunk
changeset: 328002:2865b4578c3d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Mar 23 02:56:33 2014 +0000

description:
fix unused

diffstat:

 sys/kern/kgdb_stub.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 51ab8cf60585 -r 2865b4578c3d sys/kern/kgdb_stub.c
--- a/sys/kern/kgdb_stub.c      Sun Mar 23 02:54:12 2014 +0000
+++ b/sys/kern/kgdb_stub.c      Sun Mar 23 02:56:33 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kgdb_stub.c,v 1.26 2013/05/11 15:44:46 skrll Exp $     */
+/*     $NetBSD: kgdb_stub.c,v 1.27 2014/03/23 02:56:33 christos Exp $  */
 
 /*
  * Copyright (c) 1990, 1993
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.26 2013/05/11 15:44:46 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kgdb_stub.c,v 1.27 2014/03/23 02:56:33 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -304,6 +304,7 @@
                        break;
                }
                DPRINTF((" Bad(wanted %x, off by %d)- ", tmpcsum, csum));
+               __USE(tmpcsum);
                PUTC(KGDB_BADP);
        } while (1);
        DPRINTF(("kgdb_recv: %s\n", bp));



Home | Main Index | Thread Index | Old Index