Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wscons Comment out a variable only used in #if 0 code



details:   https://anonhg.NetBSD.org/src/rev/fcf3320396e6
branches:  trunk
changeset: 790003:fcf3320396e6
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Sep 14 21:06:50 2013 +0000

description:
Comment out a variable only used in #if 0 code

diffstat:

 sys/dev/wscons/mra.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 81eddd0a5726 -r fcf3320396e6 sys/dev/wscons/mra.c
--- a/sys/dev/wscons/mra.c      Sat Sep 14 21:02:36 2013 +0000
+++ b/sys/dev/wscons/mra.c      Sat Sep 14 21:06:50 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mra.c,v 1.4 2006/10/09 10:43:01 peter Exp $    */
+/*     $NetBSD: mra.c,v 1.5 2013/09/14 21:06:50 martin Exp $   */
 
 /*
  * Copyright (c) 1999 Shin Takemura All rights reserved.
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mra.c,v 1.4 2006/10/09 10:43:01 peter Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mra.c,v 1.5 2013/09/14 21:06:50 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -52,7 +52,8 @@
        int64_t X1X1s, X2X2s, X1X2s;
        int64_t YYs, X1Ys, X2Ys;
        int64_t S11, S22, S12;
-       int64_t SYY, S1Y, S2Y;
+//     int64_t SYY;
+       int64_t S1Y, S2Y;
        int64_t A, B, C, M;
 #define AA(p, s, i)    (*((const long *)(((const char *)(p)) + (s) * (i))))
 #define X1(i)          AA(x1, x1s, i)
@@ -84,7 +85,7 @@
        S22 = X2X2s - n * X2a * X2a;
        S12 = X1X2s - n * X1a * X2a;
 
-       SYY = YYs - n * Ya * Ya;
+//     SYY = YYs - n * Ya * Ya;
        S1Y = X1Ys - n * X1a * Ya;
        S2Y = X2Ys - n * X2a * Ya;
 



Home | Main Index | Thread Index | Old Index