Module Name:    src
Committed By:   christos
Date:           Mon Nov  4 16:57:32 UTC 2013

Modified Files:
        src/sys/arch/alpha/alpha: trap.c

Log Message:
mark variable __diagused


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sys/arch/alpha/alpha/trap.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/alpha/alpha/trap.c
diff -u src/sys/arch/alpha/alpha/trap.c:1.128 src/sys/arch/alpha/alpha/trap.c:1.129
--- src/sys/arch/alpha/alpha/trap.c:1.128	Sun Feb 19 16:05:59 2012
+++ src/sys/arch/alpha/alpha/trap.c	Mon Nov  4 11:57:32 2013
@@ -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 @@ startlwp(void *arg)
 {
 	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);

Reply via email to