From 1074f48bc6ac364c5d9a36917ebd032bd4caffdf Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 2 Nov 2013 00:41:58 +0000 Subject: [PATCH] sprinkle __diagused --- sys/arch/amd64/amd64/netbsd32_machdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/amd64/amd64/netbsd32_machdep.c b/sys/arch/amd64/amd64/netbsd32_machdep.c index aa741dbc807b..9324ff654cf9 100644 --- a/sys/arch/amd64/amd64/netbsd32_machdep.c +++ b/sys/arch/amd64/amd64/netbsd32_machdep.c @@ -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 -__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 @@ startlwp32(void *arg) { 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);