yakov pushed a commit to branch master.

http://git.enlightenment.org/tools/erigo.git/commit/?id=b7aec8a34e6581e2b4a49b8a5795e9d1590d14d9

commit b7aec8a34e6581e2b4a49b8a5795e9d1590d14d9
Author: Yakov Goldberg <yako...@samsung.com>
Date:   Thu Oct 8 11:43:55 2015 +0300

    Inititalize variables
---
 CMakeLists.txt       | 2 +-
 src/bin/gui/editor.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 39a3c4b..4e96a5f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ project(ERIGO)
 string(TOLOWER ${PROJECT_NAME} PROJECT_NAME_LOWER)
 
 # define var EGUI_IS_RELEASE to activate install scripts
-set(CMAKE_BUILD_TYPE Debug)
+#set(CMAKE_BUILD_TYPE Debug)
 if (NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Release)
 endif(NOT CMAKE_BUILD_TYPE)
diff --git a/src/bin/gui/editor.c b/src/bin/gui/editor.c
index 0b409c2..75146cd 100644
--- a/src/bin/gui/editor.c
+++ b/src/bin/gui/editor.c
@@ -187,7 +187,7 @@ widget_name_change(Gui_Widget *wdg, const char *str)
 static void
 _canvas_free_coords_get(const Gui_Context *ctx, Evas_Coord *x, Evas_Coord *y)
 {
-   Evas_Coord gw, gh, maxh, retx = 0, rety = 0;
+   Evas_Coord gw, gh, maxh = 0, retx = 0, rety = 0;
    Eina_List *main_widgets = gui_context_main_widgets_get(ctx);
    Eina_List *itr;
    Eid *wdg_id;
@@ -1672,7 +1672,7 @@ _drop_target_enter(void *data, Evas_Object *obj)
    Eo *canvas_drop_target = obj;
    Eo *eo_container = NULL;
    Gui_Widget *container = data;
-   const Gui_Widget *wdg;
+   const Gui_Widget *wdg = NULL;
    DnD_Main_Obj_Info *di = NULL;
    const Gui_Session *session = NULL;
    Gui_Context *tmp_ctx = NULL;

-- 


Reply via email to