Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/amd64 sprinkle __diagused



details:   https://anonhg.NetBSD.org/src/rev/97bcd2bd7367
branches:  trunk
changeset: 791052:97bcd2bd7367
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Nov 02 00:41:58 2013 +0000

description:
sprinkle __diagused

diffstat:

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

diffs (27 lines):

diff -r 5fe2bb1e4f5f -r 97bcd2bd7367 sys/arch/amd64/amd64/netbsd32_machdep.c
--- a/sys/arch/amd64/amd64/netbsd32_machdep.c   Sat Nov 02 00:37:12 2013 +0000
+++ b/sys/arch/amd64/amd64/netbsd32_machdep.c   Sat Nov 02 00:41:58 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_machdep.c,v 1.82 2013/10/23 20:18:50 drochner Exp $   */
+/*     $NetBSD: netbsd32_machdep.c,v 1.83 2013/11/02 00:41:58 christos Exp $   */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.82 2013/10/23 20:18:50 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_machdep.c,v 1.83 2013/11/02 00:41:58 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -956,7 +956,7 @@
 {
        ucontext32_t *uc = arg;
        lwp_t *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