warnings--

SVN revision: 52442
This commit is contained in:
Carsten Haitzler 2010-09-19 01:57:19 +00:00
parent 9cb35948bc
commit a8c72076d4
4 changed files with 9 additions and 4 deletions

View File

@ -80,7 +80,7 @@ _limit(Span *s, int c1, int c2, int nocol)
// 12.63 % of time - this can improve
static void
_calc_spans(RGBA_Map_Point *p, Line *spans, int ystart, int yend, int cx, int cy, int cw, int ch)
_calc_spans(RGBA_Map_Point *p, Line *spans, int ystart, int yend, int cx, int cy __UNUSED__, int cw, int ch __UNUSED__)
{
int i, y, yp;
int py[4];

View File

@ -8,7 +8,10 @@
FPc u, v, ud, vd, dv, ue, ve;
DATA32 *d, *s;
#ifdef COLMUL
FPc cv, cd, cc; // col
FPc cv, cd; // col
# ifdef SCALE_USING_MMX
FPc cc;
#endif
DATA32 c1, c2; // col
#endif
Line *line;
@ -123,7 +126,7 @@
FPc u, v, ud, vd, ue, ve;
DATA32 *d, *s;
#ifdef COLMUL
FPc cv, cd, cc; // col
FPc cv, cd; // col
DATA32 c1, c2; // col
#endif
Line *line;

View File

@ -3,7 +3,7 @@ static void
FUNC_NAME(RGBA_Image *src, RGBA_Image *dst,
RGBA_Draw_Context *dc,
RGBA_Map_Point *p,
int smooth, int level)
int smooth, int level __UNUSED__) // level unused for now - for future use
{
int i;
int c, cx, cy, cw, ch;

View File

@ -89,7 +89,9 @@
while (ww > 0)
{
# ifdef COLMUL
# ifndef COLBLACK
DATA32 val1, cval; // col
# endif
# endif
# ifdef COLBLACK
*d = 0xff000000; // col