Module Name: src Committed By: para Date: Tue Mar 11 20:54:29 UTC 2014
Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: mark a diagnostic only variable To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/arch/amd64/amd64/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/amd64/amd64/trap.c diff -u src/sys/arch/amd64/amd64/trap.c:1.77 src/sys/arch/amd64/amd64/trap.c:1.78 --- src/sys/arch/amd64/amd64/trap.c:1.77 Wed Feb 12 19:53:49 2014 +++ src/sys/arch/amd64/amd64/trap.c Tue Mar 11 20:54:29 2014 @@ -1,4 +1,4 @@ -/* $NetBSD: trap.c,v 1.77 2014/02/12 19:53:49 dsl Exp $ */ +/* $NetBSD: trap.c,v 1.78 2014/03/11 20:54:29 para Exp $ */ /*- * Copyright (c) 1998, 2000 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.77 2014/02/12 19:53:49 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.78 2014/03/11 20:54:29 para Exp $"); #include "opt_ddb.h" #include "opt_kgdb.h" @@ -705,7 +705,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);