From 9f403ea9eb1a3d78e0680d8bb841ee332c302b85 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Mon, 3 Oct 2011 18:39:28 +0000 Subject: [PATCH] emotion/examples: Fix more warnings. SVN revision: 63782 --- legacy/emotion/src/examples/emotion_basic_example.c | 1 - legacy/emotion/src/examples/emotion_border_example.c | 1 - legacy/emotion/src/examples/emotion_generic_example.c | 2 +- legacy/emotion/src/examples/emotion_signals_example.c | 2 -- 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/legacy/emotion/src/examples/emotion_basic_example.c b/legacy/emotion/src/examples/emotion_basic_example.c index f1d1672d80..7e3e4c2e4b 100644 --- a/legacy/emotion/src/examples/emotion_basic_example.c +++ b/legacy/emotion/src/examples/emotion_basic_example.c @@ -16,7 +16,6 @@ _playback_started_cb(void *data, Evas_Object *o, void *event_info) int main(int argc, const char *argv[]) { - int err; Ecore_Evas *ee; Evas *e; Evas_Object *bg, *em; diff --git a/legacy/emotion/src/examples/emotion_border_example.c b/legacy/emotion/src/examples/emotion_border_example.c index 6772b0b836..9df53f4333 100644 --- a/legacy/emotion/src/examples/emotion_border_example.c +++ b/legacy/emotion/src/examples/emotion_border_example.c @@ -153,7 +153,6 @@ _canvas_resize_cb(Ecore_Evas *ee) int main(int argc, const char *argv[]) { - int err; Ecore_Evas *ee; Evas *e; Evas_Object *bg, *em; diff --git a/legacy/emotion/src/examples/emotion_generic_example.c b/legacy/emotion/src/examples/emotion_generic_example.c index bef1501db1..8710c54747 100644 --- a/legacy/emotion/src/examples/emotion_generic_example.c +++ b/legacy/emotion/src/examples/emotion_generic_example.c @@ -4,6 +4,7 @@ #include #include #include +#include #define WIDTH (320) #define HEIGHT (240) @@ -143,7 +144,6 @@ _frame_resize_cb(void *data, Evas_Object *o, void *event_info) int main(int argc, const char *argv[]) { - int err; Ecore_Evas *ee; Evas *e; Evas_Object *bg, *em; diff --git a/legacy/emotion/src/examples/emotion_signals_example.c b/legacy/emotion/src/examples/emotion_signals_example.c index 2c46be8191..2469c468ba 100644 --- a/legacy/emotion/src/examples/emotion_signals_example.c +++ b/legacy/emotion/src/examples/emotion_signals_example.c @@ -100,7 +100,6 @@ _setup_emotion_callbacks(Evas_Object *o) int main(int argc, const char *argv[]) { - int err; Ecore_Evas *ee; Evas *e; Evas_Object *bg, *em; @@ -166,7 +165,6 @@ main(int argc, const char *argv[]) ecore_evas_shutdown(); return 0; -emotion_error: ecore_evas_free(ee); error: