Module Name: src Committed By: martin Date: Fri Oct 25 16:30:52 UTC 2013
Modified Files: src/sys/arch/vax/vax: trap.c Log Message: Mark a diagnostic-only variable To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132 src/sys/arch/vax/vax/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/vax/vax/trap.c diff -u src/sys/arch/vax/vax/trap.c:1.131 src/sys/arch/vax/vax/trap.c:1.132 --- src/sys/arch/vax/vax/trap.c:1.131 Thu Aug 2 14:03:22 2012 +++ src/sys/arch/vax/vax/trap.c Fri Oct 25 16:30:52 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.131 2012/08/02 14:03:22 matt Exp $ */ +/* $NetBSD: trap.c,v 1.132 2013/10/25 16:30:52 martin Exp $ */ /* * Copyright (c) 1994 Ludd, University of Lule}, Sweden. @@ -33,7 +33,7 @@ /* All bugs are subject to removal without further notice */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.131 2012/08/02 14:03:22 matt Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.132 2013/10/25 16:30:52 martin Exp $"); #include "opt_ddb.h" #include "opt_multiprocessor.h" @@ -385,7 +385,7 @@ startlwp(void *arg) { ucontext_t * const uc = arg; lwp_t * const l = curlwp; - int error; + int error __diagused; error = cpu_setmcontext(l, &uc->uc_mcontext, uc->uc_flags); KASSERT(error == 0);