Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/m68k/m68k Mark a diagnostic-only variable



details:   https://anonhg.NetBSD.org/src/rev/b0fac0692260
branches:  trunk
changeset: 790883:b0fac0692260
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 25 20:45:35 2013 +0000

description:
Mark a diagnostic-only variable

diffstat:

 sys/arch/m68k/m68k/m68k_syscall.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ace91cc3beef -r b0fac0692260 sys/arch/m68k/m68k/m68k_syscall.c
--- a/sys/arch/m68k/m68k/m68k_syscall.c Fri Oct 25 20:37:17 2013 +0000
+++ b/sys/arch/m68k/m68k/m68k_syscall.c Fri Oct 25 20:45:35 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: m68k_syscall.c,v 1.48 2012/02/19 21:06:14 rmind Exp $  */
+/*     $NetBSD: m68k_syscall.c,v 1.49 2013/10/25 20:45:35 martin Exp $ */
 
 /*-
  * Portions Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: m68k_syscall.c,v 1.48 2012/02/19 21:06:14 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: m68k_syscall.c,v 1.49 2013/10/25 20:45:35 martin Exp $");
 
 #include "opt_execfmt.h"
 #include "opt_compat_netbsd.h"
@@ -414,7 +414,7 @@
        ucontext_t *uc = arg;
        lwp_t *l = curlwp;
        struct frame *f = (struct frame *)l->l_md.md_regs;
-       int error;
+       int error __diagused;
 
        f->f_regs[D0] = 0;
        f->f_sr &= ~PSL_C;



Home | Main Index | Thread Index | Old Index