Module Name:    src
Committed By:   mrg
Date:           Mon Jun  2 04:57:02 UTC 2014

Modified Files:
        src/sys/arch/mips/mips: mips_machdep.c

Log Message:
apply __diagused.


To generate a diff of this commit:
cvs rdiff -u -r1.259 -r1.260 src/sys/arch/mips/mips/mips_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/mips/mips/mips_machdep.c
diff -u src/sys/arch/mips/mips/mips_machdep.c:1.259 src/sys/arch/mips/mips/mips_machdep.c:1.260
--- src/sys/arch/mips/mips/mips_machdep.c:1.259	Mon Mar 24 20:06:32 2014
+++ src/sys/arch/mips/mips/mips_machdep.c	Mon Jun  2 04:57:02 2014
@@ -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 @@ startlwp32(void *arg)
 {
 	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);

Reply via email to