fixed some warnings
authortsauerbeck <tsauerbeck>
Sun, 18 Jan 2004 07:55:14 +0000 (07:55 +0000)
committertsauerbeck <tsauerbeck@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 18 Jan 2004 07:55:14 +0000 (07:55 +0000)
SVN revision: 8555

legacy/evas/src/lib/engines/common/evas_image_main.c
legacy/evas/src/lib/engines/common/evas_scale_smooth_scaler.c

index bf8fd0a963bcd4f2e38a8fa19d5c9200f121b3f1..3af4d2b9cccc9d199871cd764dbaa825de16fcee 100644 (file)
@@ -1,6 +1,10 @@
 #include "evas_common.h"
 #include "evas_private.h"
 
+#ifdef BUILD_LOADER_EET
+#include <Eet.h>
+#endif
+
 static Evas_Hash        * images = NULL;
 static Evas_Object_List * cache = NULL;
 static int                cache_size = 0;
index f7d297a84d8a3fae49112a815378fa993f045934..bbcc4a0b231b8b2588446145de68796f27b64c47 100644 (file)
@@ -402,6 +402,9 @@ SCALE_FUNC(RGBA_Image *src, RGBA_Image *dst,
                       DATA8 p1r, p1g, p1b, p1a;
                       DATA8 p2r, p2g, p2b, p2a;
                       DATA32 *lptr1, *lptr2;
+
+                      p1r = p1g = p1b = p1a = 0;
+                      p2r = p2g = p2b = p2a = 0;
                       
                       lptr1 = row_ptr[y];
                       if ((lptr1 + src_w) >= 
@@ -491,6 +494,9 @@ SCALE_FUNC(RGBA_Image *src, RGBA_Image *dst,
                       DATA8 p1r, p1g, p1b;
                       DATA8 p2r, p2g, p2b;
                       DATA32 *lptr1, *lptr2;
+
+                      p1r = p1g = p1b = 0;
+                      p2r = p2g = p2b = 0;
                       
                       lptr1 = row_ptr[y];
                       if ((lptr1 + src_w) >=