Module Name:    src
Committed By:   martin
Date:           Fri Oct 25 20:45:35 UTC 2013

Modified Files:
        src/sys/arch/m68k/m68k: m68k_syscall.c

Log Message:
Mark a diagnostic-only variable


To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/arch/m68k/m68k/m68k_syscall.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/m68k/m68k/m68k_syscall.c
diff -u src/sys/arch/m68k/m68k/m68k_syscall.c:1.48 src/sys/arch/m68k/m68k/m68k_syscall.c:1.49
--- src/sys/arch/m68k/m68k/m68k_syscall.c:1.48	Sun Feb 19 21:06:14 2012
+++ src/sys/arch/m68k/m68k/m68k_syscall.c	Fri Oct 25 20:45:35 2013
@@ -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 @@ startlwp(void *arg)
 	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;

Reply via email to