Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/powerpc use __diagused for KASSERT only var...
details: https://anonhg.NetBSD.org/src/rev/064cb994704f
branches: trunk
changeset: 791203:064cb994704f
user: nisimura <nisimura%NetBSD.org@localhost>
date: Fri Nov 08 04:32:58 2013 +0000
description:
use __diagused for KASSERT only variable.
diffstat:
sys/arch/powerpc/powerpc/powerpc_machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5950bc5537da -r 064cb994704f sys/arch/powerpc/powerpc/powerpc_machdep.c
--- a/sys/arch/powerpc/powerpc/powerpc_machdep.c Fri Nov 08 03:59:35 2013 +0000
+++ b/sys/arch/powerpc/powerpc/powerpc_machdep.c Fri Nov 08 04:32:58 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: powerpc_machdep.c,v 1.65 2013/07/19 06:43:20 matt Exp $ */
+/* $NetBSD: powerpc_machdep.c,v 1.66 2013/11/08 04:32:58 nisimura Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: powerpc_machdep.c,v 1.65 2013/07/19 06:43:20 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: powerpc_machdep.c,v 1.66 2013/11/08 04:32:58 nisimura Exp $");
#include "opt_altivec.h"
#include "opt_modular.h"
@@ -319,7 +319,7 @@
ucontext_t * const uc = arg;
lwp_t * const l = curlwp;
struct trapframe * const tf = l->l_md.md_utf;
- int error;
+ int error __diagused;
error = cpu_setmcontext(l, &uc->uc_mcontext, uc->uc_flags);
KASSERT(error == 0);
Home |
Main Index |
Thread Index |
Old Index