diff options
author | David Malone <dwmalone@FreeBSD.org> | 2009-03-17 19:37:47 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2009-03-17 19:37:47 +0000 |
commit | e8c2f0b3aa200c6cc15d3b24043b94dbc2039da6 (patch) | |
tree | b6f11a09743430df06730331b9961e4f807ea314 /usr.bin/ministat | |
parent | 76ed3c71f140805d8141be899c2e828c029bc3de (diff) | |
download | src-e8c2f0b3aa200c6cc15d3b24043b94dbc2039da6.tar.gz src-e8c2f0b3aa200c6cc15d3b24043b94dbc2039da6.zip |
Notes
Diffstat (limited to 'usr.bin/ministat')
-rw-r--r-- | usr.bin/ministat/ministat.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/ministat/ministat.c b/usr.bin/ministat/ministat.c index 5873ca7aace1..720922eb6674 100644 --- a/usr.bin/ministat/ministat.c +++ b/usr.bin/ministat/ministat.c @@ -136,7 +136,7 @@ struct dataset { double *points; unsigned lpoints; double sy, syy; - int n; + unsigned n; }; static struct dataset * @@ -191,8 +191,6 @@ Avg(struct dataset *ds) static double Median(struct dataset *ds) { - int even, i; - struct point *p1, *p2; return (ds->points[ds->n / 2]); } @@ -317,8 +315,8 @@ static void PlotSet(struct dataset *ds, int val) { struct plot *pl; - struct point *pp; - int i, j, m, x, n; + int i, j, m, x; + unsigned n; int bar; pl = &plot; |