fix gcc 4.7 warnings (thanks Tuncer Ayaz)
R=rsc http://codereview.appspot.com/6744053
This commit is contained in:
parent
53527a6e78
commit
220c15d2b7
14 changed files with 9 additions and 40 deletions
|
|
@ -20,7 +20,7 @@ obj *linegen(int type)
|
|||
double dx[500], dy[500];
|
||||
int ndxy;
|
||||
double nx, ny;
|
||||
Attr *ap, *chop_ap[4];
|
||||
Attr *ap;
|
||||
|
||||
nx = curx;
|
||||
ny = cury;
|
||||
|
|
@ -133,7 +133,6 @@ obj *linegen(int type)
|
|||
else
|
||||
chop2 = ap->a_val.f;
|
||||
}
|
||||
chop_ap[chop++] = ap;
|
||||
break;
|
||||
case FILL:
|
||||
battr |= FILLBIT;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,6 @@ obj *textgen(void)
|
|||
int i, sub, nstr, at, with, hset, invis;
|
||||
double xwith, ywith, h, w, x0, y0, x1, y1;
|
||||
obj *p, *ppos;
|
||||
static double prevh = 0;
|
||||
static double prevw = 0;
|
||||
Attr *ap;
|
||||
|
||||
at = with = nstr = hset = invis = 0;
|
||||
|
|
@ -93,8 +91,6 @@ obj *textgen(void)
|
|||
cury = y1;
|
||||
else
|
||||
cury = y0;
|
||||
prevh = h;
|
||||
prevw = w;
|
||||
return(p);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue