Source-Changes-HG archive

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

[src/trunk]: src/sys/ddb Mark a potentialy unused variable



details:   https://anonhg.NetBSD.org/src/rev/da4068f56831
branches:  trunk
changeset: 790684:da4068f56831
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Oct 19 14:33:07 2013 +0000

description:
Mark a potentialy unused variable

diffstat:

 sys/ddb/db_run.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 34ebcafa3703 -r da4068f56831 sys/ddb/db_run.c
--- a/sys/ddb/db_run.c  Sat Oct 19 14:03:04 2013 +0000
+++ b/sys/ddb/db_run.c  Sat Oct 19 14:33:07 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_run.c,v 1.31 2007/09/23 23:55:55 martin Exp $       */
+/*     $NetBSD: db_run.c,v 1.32 2013/10/19 14:33:07 martin Exp $       */
 
 /*
  * Mach Operating System
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_run.c,v 1.31 2007/09/23 23:55:55 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_run.c,v 1.32 2013/10/19 14:33:07 martin Exp $");
 
 #include "opt_ddb.h"
 
@@ -197,7 +197,7 @@
        if ((db_run_mode == STEP_COUNT) ||
            (db_run_mode == STEP_RETURN) ||
            (db_run_mode == STEP_CALLT)) {
-               db_expr_t               ins;
+               db_expr_t               ins __unused;
 
                /*
                 * We are about to execute this instruction,



Home | Main Index | Thread Index | Old Index