Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/odroid Make it compile without DIAGNOSTIC



details:   https://anonhg.NetBSD.org/src/rev/f148a083c47c
branches:  trunk
changeset: 801992:f148a083c47c
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Aug 26 20:33:35 2014 +0000

description:
Make it compile without DIAGNOSTIC

diffstat:

 sys/arch/evbarm/odroid/odroid_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b4c05e67c6b3 -r f148a083c47c sys/arch/evbarm/odroid/odroid_machdep.c
--- a/sys/arch/evbarm/odroid/odroid_machdep.c   Tue Aug 26 19:49:33 2014 +0000
+++ b/sys/arch/evbarm/odroid/odroid_machdep.c   Tue Aug 26 20:33:35 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: odroid_machdep.c,v 1.29 2014/08/25 16:56:14 reinoud Exp $ */
+/*     $NetBSD: odroid_machdep.c,v 1.30 2014/08/26 20:33:35 reinoud Exp $ */
 
 /*
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.29 2014/08/25 16:56:14 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: odroid_machdep.c,v 1.30 2014/08/26 20:33:35 reinoud Exp $");
 
 #include "opt_evbarm_boardtype.h"
 #include "opt_exynos.h"
@@ -825,7 +825,7 @@
        struct i2c_controller *i2c;
        const char *pin_enable;
        uint8_t rdata, wdata, reg;
-       int error;
+       int error __diagused;
        bool ok;
 
        /*



Home | Main Index | Thread Index | Old Index