Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips apply __diagused.



details:   https://anonhg.NetBSD.org/src/rev/0aff3bed410f
branches:  trunk
changeset: 329653:0aff3bed410f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 02 04:57:02 2014 +0000

description:
apply __diagused.

diffstat:

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

diffs (27 lines):

diff -r e991c6ebc9c3 -r 0aff3bed410f sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Mon Jun 02 02:11:51 2014 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Mon Jun 02 04:57:02 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_machdep.c,v 1.259 2014/03/24 20:06:32 christos Exp $      */
+/*     $NetBSD: mips_machdep.c,v 1.260 2014/06/02 04:57:02 mrg Exp $   */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.259 2014/03/24 20:06:32 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.260 2014/06/02 04:57:02 mrg Exp $");
 
 #define __INTR_PRIVATE
 #include "opt_cputype.h"
@@ -2191,7 +2191,7 @@
 {
        ucontext32_t * const uc = arg;
        lwp_t * const l = curlwp;
-       int error;
+       int error __diagused;
 
        error = cpu_setmcontext32(l, &uc->uc_mcontext, uc->uc_flags);
        KASSERT(error == 0);



Home | Main Index | Thread Index | Old Index