summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2015-10-12 12:03:52 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-10-12 13:44:44 +0900
commitdc397fabffdd8166073f53aa8f4ec1dbab2dc5fd (patch)
tree7ee9c592ca4489863be27b7ab7d298515ae56108 /src/lib
parentd271afd66c5a1c160f2d19941d00217f370bfeae (diff)
Evas filters: Fix some build warnings
Thanks Tom for spotting one of those
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/evas/canvas/evas_object_image.c2
-rw-r--r--src/lib/evas/canvas/evas_render.c3
-rw-r--r--src/lib/evas/filters/evas_filter_parser.c5
3 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/evas/canvas/evas_object_image.c b/src/lib/evas/canvas/evas_object_image.c
index ee1983842c..a16562b344 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -233,7 +233,7 @@ static const Evas_Object_Image_Load_Opts default_load_opts = {
233}; 233};
234 234
235static const Evas_Object_Image_Pixels default_pixels = { 235static const Evas_Object_Image_Pixels default_pixels = {
236 NULL, { NULL, NULL }, { 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, ~0x0, 0, 0 236 NULL, { NULL, NULL }, { 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL }, ~0x0
237}; 237};
238 238
239static const Evas_Object_Image_State default_state = { 239static const Evas_Object_Image_State default_state = {
diff --git a/src/lib/evas/canvas/evas_render.c b/src/lib/evas/canvas/evas_render.c
index f54db4d1f4..fdd0645872 100644
--- a/src/lib/evas/canvas/evas_render.c
+++ b/src/lib/evas/canvas/evas_render.c
@@ -2390,8 +2390,11 @@ evas_render_updates_internal_loop(Evas *eo_e, Evas_Public_Data *e,
2390 eina_evlog("-render_objects", eo_e, 0.0, NULL); 2390 eina_evlog("-render_objects", eo_e, 0.0, NULL);
2391 /* free obscuring objects list */ 2391 /* free obscuring objects list */
2392 OBJS_ARRAY_CLEAN(&e->temporary_objects); 2392 OBJS_ARRAY_CLEAN(&e->temporary_objects);
2393
2394#ifdef REND_DBG
2393 if (top) RD(level, " ---] SNAPSHOT [obj:%p sfc:%p]\n", top, surface); 2395 if (top) RD(level, " ---] SNAPSHOT [obj:%p sfc:%p]\n", top, surface);
2394 else RD(level, " ---]\n"); 2396 else RD(level, " ---]\n");
2397#endif
2395 2398
2396 return clean_them; 2399 return clean_them;
2397} 2400}
diff --git a/src/lib/evas/filters/evas_filter_parser.c b/src/lib/evas/filters/evas_filter_parser.c
index d9df8985d8..fc333ad987 100644
--- a/src/lib/evas/filters/evas_filter_parser.c
+++ b/src/lib/evas/filters/evas_filter_parser.c
@@ -2209,11 +2209,6 @@ _lua_print(lua_State *L)
2209 return 0; 2209 return 0;
2210} 2210}
2211 2211
2212static const struct luaL_Reg printlib[] = {
2213 { "print", _lua_print },
2214 { NULL, NULL }
2215};
2216
2217#define LUA_GENERIC_FUNCTION(name) \ 2212#define LUA_GENERIC_FUNCTION(name) \
2218static int \ 2213static int \
2219_lua_##name(lua_State *L) \ 2214_lua_##name(lua_State *L) \