evas: remove unused variables
authorenglebass <englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 13 May 2010 20:23:49 +0000 (20:23 +0000)
committerenglebass <englebass@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 13 May 2010 20:23:49 +0000 (20:23 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@48819 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_polygon.c
src/lib/canvas/evas_object_textblock.c

index b5c459e..43a85f8 100644 (file)
@@ -113,7 +113,6 @@ evas_object_polygon_point_add(Evas_Object *obj, Evas_Coord x, Evas_Coord y)
    Evas_Polygon_Point *p;
    Evas_Coord min_x, max_x, min_y, max_y;
    int is, was = 0;
-   int off_x, off_y;
 
    MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ);
    return;
index ddb7fc3..50f5295 100644 (file)
@@ -2120,8 +2120,6 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_
      {
         if (!c->ln)
           {
-             int tw, th;
-             
              _layout_line_new(c, fmt);
              _layout_text_append(c, fmt, NULL, NULL);
              _layout_line_advance(c, fmt);
@@ -2172,9 +2170,9 @@ _layout(const Evas_Object *obj, int calc_only, int w, int h, int *w_ret, int *h_
                   // href == name of item - to be found and matched later and used for
                   //   positioning
                   Evas_Object_Textblock_Format_Item *fi;
-                  int x2, w = 1, h = 1, y = 0;
+                  int x2, w = 1, h = 1;
                   int vsize = 0, size = 0;
-                  char *p, *href;
+                  char *p;
                   
                   // don't care
                   //href = strstr(s, " href=");