Module Name: src Committed By: christos Date: Sun Mar 23 02:56:33 UTC 2014
Modified Files: src/sys/kern: kgdb_stub.c Log Message: fix unused To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/sys/kern/kgdb_stub.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/kgdb_stub.c diff -u src/sys/kern/kgdb_stub.c:1.26 src/sys/kern/kgdb_stub.c:1.27 --- src/sys/kern/kgdb_stub.c:1.26 Sat May 11 11:44:46 2013 +++ src/sys/kern/kgdb_stub.c Sat Mar 22 22:56:33 2014 @@ -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 @@ kgdb_recv(u_char *bp, int maxlen) break; } DPRINTF((" Bad(wanted %x, off by %d)- ", tmpcsum, csum)); + __USE(tmpcsum); PUTC(KGDB_BADP); } while (1); DPRINTF(("kgdb_recv: %s\n", bp));