comment out unused variables
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 31 Jul 2010 05:01:54 +0000 (05:01 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sat, 31 Jul 2010 05:01:54 +0000 (05:01 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@50705 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_edit.c
src/lib/edje_entry.c
src/lib/edje_lua2.c

index e30c9b3..992caee 100644 (file)
@@ -148,18 +148,18 @@ _edje_edit_smart_add(Evas_Object *obj)
 static void
 _edje_edit_smart_del(Evas_Object *obj)
 {
-   Edje_Edit *eed;
+//   Edje_Edit *eed;
 
-   eed = evas_object_smart_data_get(obj);
+//   eed = evas_object_smart_data_get(obj);
    _edje_edit_parent_sc->base.del(obj);
 }
 
 static Eina_Bool
 _edje_edit_smart_file_set(Evas_Object *obj, const char *file, const char *group)
 {
-   Edje_Edit *eed;
+//   Edje_Edit *eed;
 
-   eed = evas_object_smart_data_get(obj);
+//   eed = evas_object_smart_data_get(obj);
    /* Nothing custom here yet, so we just call the parent function.
     * TODO and maybes:
     *  * The whole point of this thing is keep track of stuff such as
@@ -750,7 +750,7 @@ _edje_edit_group_references_update(Evas_Object *obj, const char *old_group_name,
 {
    Eina_Iterator *i;
    Eina_List *pll, *pl;
-   Edje_Part_Collection *pc;
+//   Edje_Part_Collection *pc;
    Edje_Part_Collection_Directory_Entry *pce;
    char *part_name;
    const char *source, *old;
@@ -759,7 +759,7 @@ _edje_edit_group_references_update(Evas_Object *obj, const char *old_group_name,
 
    GET_ED_OR_RETURN();
 
-   pc = ed->collection;
+//   pc = ed->collection;
 
    part_obj = edje_edit_object_add(ed->evas);
 
index 4fb2ff8..046fc7b 100644 (file)
@@ -1527,7 +1527,7 @@ _edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
    Evas_Event_Mouse_Down *ev = event_info;
    Entry *en;
    Evas_Coord x, y, w, h;
-   Eina_Bool multiline;
+//   Eina_Bool multiline;
    Evas_Textblock_Cursor *tc;
    Eina_Bool dosel = EINA_FALSE;
    if (!rp) return;
@@ -1557,7 +1557,7 @@ _edje_part_mouse_down_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUS
      }
    tc = evas_object_textblock_cursor_new(rp->object);
    evas_textblock_cursor_copy(en->cursor, tc);
-   multiline = rp->part->multiline;
+//   multiline = rp->part->multiline;
    evas_object_geometry_get(rp->object, &x, &y, &w, &h);
    en->cx = ev->canvas.x - x;
    en->cy = ev->canvas.y - y;
index 09f6814..e25818c 100644 (file)
@@ -1710,7 +1710,7 @@ static int
 _elua_top(lua_State *L)
 {
    Edje_Lua_Obj *obj = (Edje_Lua_Obj *)lua_touserdata(L, 1);
-   Edje_Lua_Evas_Object *elo = (Edje_Lua_Evas_Object *)obj;
//  Edje_Lua_Evas_Object *elo = (Edje_Lua_Evas_Object *)obj;
    Edje_Lua_Evas_Object *elo2;
    Evas_Object *o;
    Eina_List *list, *l;
@@ -1734,7 +1734,7 @@ static int
 _elua_bottom(lua_State *L)
 {
    Edje_Lua_Obj *obj = (Edje_Lua_Obj *)lua_touserdata(L, 1);
-   Edje_Lua_Evas_Object *elo = (Edje_Lua_Evas_Object *)obj;
+//   Edje_Lua_Evas_Object *elo = (Edje_Lua_Evas_Object *)obj;
    Edje_Lua_Evas_Object *elo2;
    Evas_Object *o;
    Eina_List *list, *l;
@@ -1907,9 +1907,9 @@ static void
 _elua_evas_obj_free(void *obj)
 {
    Edje_Lua_Evas_Object *elo = obj;
-   lua_State *L;
+//   lua_State *L;
    if (!elo->obj.ed) return;
-   L = elo->obj.ed->L;
+//   L = elo->obj.ed->L;
    evas_object_del(elo->evas_obj);
    elo->evas_obj = NULL;
 }