Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/adb minor tweaks to shut gcc4.8 warning off.
details: https://anonhg.NetBSD.org/src/rev/5c55e01533fd
branches: trunk
changeset: 791437:5c55e01533fd
user: nisimura <nisimura%NetBSD.org@localhost>
date: Mon Nov 18 11:02:34 2013 +0000
description:
minor tweaks to shut gcc4.8 warning off.
diffstat:
sys/dev/adb/adb_kbd.c | 6 ++++--
sys/dev/adb/adb_ms.c | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diffs (54 lines):
diff -r 7eb4045d47ab -r 5c55e01533fd sys/dev/adb/adb_kbd.c
--- a/sys/dev/adb/adb_kbd.c Mon Nov 18 07:13:13 2013 +0000
+++ b/sys/dev/adb/adb_kbd.c Mon Nov 18 11:02:34 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adb_kbd.c,v 1.21 2012/09/19 04:55:06 macallan Exp $ */
+/* $NetBSD: adb_kbd.c,v 1.22 2013/11/18 11:02:34 nisimura Exp $ */
/*
* Copyright (C) 1998 Colin Wood
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adb_kbd.c,v 1.21 2012/09/19 04:55:06 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adb_kbd.c,v 1.22 2013/11/18 11:02:34 nisimura Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -814,6 +814,8 @@
me->sysctl_num, CTL_CREATE, CTL_EOL);
}
#endif /* NWSMOUSE > 0 */
+
+ (void)ret;
}
SYSCTL_SETUP(sysctl_adbkbdtrans_setup, "adbkbd translator setup")
diff -r 7eb4045d47ab -r 5c55e01533fd sys/dev/adb/adb_ms.c
--- a/sys/dev/adb/adb_ms.c Mon Nov 18 07:13:13 2013 +0000
+++ b/sys/dev/adb/adb_ms.c Mon Nov 18 11:02:34 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: adb_ms.c,v 1.14 2012/10/27 17:18:14 chs Exp $ */
+/* $NetBSD: adb_ms.c,v 1.15 2013/11/18 11:02:34 nisimura Exp $ */
/*
* Copyright (C) 1998 Colin Wood
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: adb_ms.c,v 1.14 2012/10/27 17:18:14 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: adb_ms.c,v 1.15 2013/11/18 11:02:34 nisimura Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -743,6 +743,8 @@
CTLTYPE_INT, "tapping", "tapping the pad causes button events",
sysctl_adbms_tap, 1, (void *)sc, 0,
CTL_MACHDEP, me->sysctl_num, CTL_CREATE, CTL_EOL);
+
+ (void)ret;
}
static int
Home |
Main Index |
Thread Index |
Old Index