src/lib/common.c 1.145

1.145 2010/03/10 22:12:33 kent
Fixing compile errors under Linux.
Index: src/lib/common.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/lib/common.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -b -B -U 4 -r1.144 -r1.145
--- src/lib/common.c	10 Mar 2010 19:44:59 -0000	1.144
+++ src/lib/common.c	10 Mar 2010 22:12:33 -0000	1.145
@@ -460,9 +460,8 @@
 void doubleBoxWhiskerCalc(int count, double *array, double *retMin, 
 	double *retQ1, double *retMedian, double *retQ3, double *retMax)
 /* Calculate what you need to draw a box and whiskers plot from an array of doubles. */
 {
-double median;
 doubleSort(count, array);
 *retMin = array[0];
 *retQ1 = array[(count+2)/4];
 int halfCount = count>>1;
@@ -520,9 +519,9 @@
 /* Calculate what you need to draw a box and whiskers plot from a list of slDoubles. */
 {
 int i,count = slCount(list);
 struct slDouble *el;
-double *array, minVal, q1, median, q3, maxVal;
+double *array;
 if (count == 0)
     errAbort("Can't take do slDoubleBoxWhiskerCalc of empty list");
 AllocArray(array,count);
 for (i=0, el=list; i<count; ++i, el=el->next)