mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
Fix some warns - mainly signedness and unused variables.
This commit is contained in:
parent
76ed3c71f1
commit
e8c2f0b3aa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=189934
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user