Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/alpha mark variable __diagused



details:   https://anonhg.NetBSD.org/src/rev/ebdf3f30e12d
branches:  trunk
changeset: 791094:ebdf3f30e12d
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 04 16:57:32 2013 +0000

description:
mark variable __diagused

diffstat:

 sys/arch/alpha/alpha/trap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f275166ee96b -r ebdf3f30e12d sys/arch/alpha/alpha/trap.c
--- a/sys/arch/alpha/alpha/trap.c       Mon Nov 04 16:56:50 2013 +0000
+++ b/sys/arch/alpha/alpha/trap.c       Mon Nov 04 16:57:32 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.128 2012/02/19 21:05:59 rmind Exp $ */
+/* $NetBSD: trap.c,v 1.129 2013/11/04 16:57:32 christos Exp $ */
 
 /*-
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -93,7 +93,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.128 2012/02/19 21:05:59 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.129 2013/11/04 16:57:32 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1127,7 +1127,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