Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Mark a variable diagnostic-only, from Joh...
details: https://anonhg.NetBSD.org/src/rev/8bcc1550f65b
branches: trunk
changeset: 327605:8bcc1550f65b
user: martin <martin%NetBSD.org@localhost>
date: Wed Mar 12 18:59:07 2014 +0000
description:
Mark a variable diagnostic-only, from John D. Baker.
diffstat:
sys/arch/i386/i386/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r aef6a41d2dbf -r 8bcc1550f65b sys/arch/i386/i386/trap.c
--- a/sys/arch/i386/i386/trap.c Wed Mar 12 18:17:06 2014 +0000
+++ b/sys/arch/i386/i386/trap.c Wed Mar 12 18:59:07 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.271 2014/02/12 23:24:09 dsl Exp $ */
+/* $NetBSD: trap.c,v 1.272 2014/03/12 18:59:07 martin Exp $ */
/*-
* Copyright (c) 1998, 2000, 2005, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.271 2014/02/12 23:24:09 dsl Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.272 2014/03/12 18:59:07 martin Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -747,7 +747,7 @@
{
ucontext_t *uc = arg;
lwp_t *l = curlwp;
- int error;
+ int error __diagused;
error = cpu_setmcontext(l, &uc->uc_mcontext, uc->uc_flags);
KASSERT(error == 0);
Home |
Main Index |
Thread Index |
Old Index