warnings--
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 19 Sep 2010 01:57:19 +0000 (01:57 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 19 Sep 2010 01:57:19 +0000 (01:57 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@52442 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/engines/common/evas_map_image.c
src/lib/engines/common/evas_map_image_core.c
src/lib/engines/common/evas_map_image_internal.c
src/lib/engines/common/evas_map_image_loop.c

index 9cd2b23..40f4843 100644 (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];
index 05fd291..632f2f1 100644 (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;
              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;
index f437f8b..d60117e 100644 (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;
index 2ac5b88..c434386 100644 (file)
@@ -89,7 +89,9 @@
    while (ww > 0)
      {
 # ifdef COLMUL
+#  ifndef COLBLACK        
         DATA32 val1, cval; // col
+#  endif
 # endif
 # ifdef COLBLACK
         *d = 0xff000000; // col