Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libkern mark some variables as unused, but keep them...



details:   https://anonhg.NetBSD.org/src/rev/9b46c807462f
branches:  trunk
changeset: 791068:9b46c807462f
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 03 00:01:43 2013 +0000

description:
mark some variables as unused, but keep them around as comments

diffstat:

 sys/lib/libkern/softfloat.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 1957515a9d41 -r 9b46c807462f sys/lib/libkern/softfloat.c
--- a/sys/lib/libkern/softfloat.c       Sat Nov 02 23:54:04 2013 +0000
+++ b/sys/lib/libkern/softfloat.c       Sun Nov 03 00:01:43 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: softfloat.c,v 1.4 2005/12/11 12:24:37 christos Exp $ */
+/* $NetBSD: softfloat.c,v 1.5 2013/11/03 00:01:43 christos Exp $ */
 
 /*
  * This version hacked for use with gcc -msoft-float by bjh21.
@@ -49,7 +49,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: softfloat.c,v 1.4 2005/12/11 12:24:37 christos Exp $");
+__RCSID("$NetBSD: softfloat.c,v 1.5 2013/11/03 00:01:43 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #ifdef SOFTFLOAT_FOR_GCC
@@ -1980,7 +1980,7 @@
 */
 float32 float32_rem( float32 a, float32 b )
 {
-    flag aSign, bSign, zSign;
+    flag aSign, bSign __unused, zSign;
     int16 aExp, bExp, expDiff;
     bits32 aSig, bSig;
     bits32 q;
@@ -2950,7 +2950,7 @@
 */
 float64 float64_rem( float64 a, float64 b )
 {
-    flag aSign, bSign, zSign;
+    flag aSign, bSign __unused, zSign;
     int16 aExp, bExp, expDiff;
     bits64 aSig, bSig;
     bits64 q, alternateASig;



Home | Main Index | Thread Index | Old Index