Module Name: src
Committed By: martin
Date: Sat Sep 14 21:06:50 UTC 2013
Modified Files:
src/sys/dev/wscons: mra.c
Log Message:
Comment out a variable only used in #if 0 code
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/wscons/mra.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/dev/wscons/mra.c
diff -u src/sys/dev/wscons/mra.c:1.4 src/sys/dev/wscons/mra.c:1.5
--- src/sys/dev/wscons/mra.c:1.4 Mon Oct 9 10:43:01 2006
+++ src/sys/dev/wscons/mra.c Sat Sep 14 21:06:50 2013
@@ -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 @@ mra_Y_AX1_BX2_C(const int *y, int ys,
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 @@ mra_Y_AX1_BX2_C(const int *y, int ys,
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;