changeset 769:7c73fbc8d700

Remove unused local variables
author Thinker K.F. Li <thinker@codemud.net>
date Sun, 29 Aug 2010 18:47:06 +0800
parents 13669b28826d
children abd9bbf24545
files src/redraw_man.c
diffstat 1 files changed, 4 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/redraw_man.c	Sun Aug 29 17:20:13 2010 +0800
+++ b/src/redraw_man.c	Sun Aug 29 18:47:06 2010 +0800
@@ -717,7 +717,7 @@
 
 void redraw_man_destroy(redraw_man_t *rdman) {
     coord_t *coord, *saved_coord;
-    shape_t *shape, *saved_shape;
+    shape_t *shape;
     geo_t *member;
 
     mb_prop_store_destroy(&rdman->props);
@@ -1435,7 +1435,7 @@
  * coord, coord_canvas_info_t::pcache_cur_area, for its cached children.
  */
 static int clean_rdman_coords(redraw_man_t *rdman) {
-    coord_t *coord, *child;
+    coord_t *coord;
     coord_t **dirty_coords;
     int n_dirty_coords;
     int i, r;
@@ -1490,7 +1490,7 @@
 static
 void zeroing_coord(redraw_man_t *rdman, coord_t *coord) {
     coord_t *cur;
-    area_t *area, *saved_area;
+    area_t *area;
     geo_t *geo;
     co_aix min_x, min_y;
     co_aix max_x, max_y;
@@ -1499,7 +1499,6 @@
     int c_w, c_h;
     mbe_t *canvas;
     co_aix *aggr;
-    co_aix poses[4][2];
 
     if(coord->parent == NULL)	/*! \note Should not zeroing root coord */
 	abort();
@@ -1728,9 +1727,7 @@
 					      coord_t *coord) {
     int i;
     int n_areas;
-    int enable_poses1 = 0;
     co_aix poses0[2][2], poses1[2][2];
-    co_aix reverse[6];
     co_aix canvas2pdev_matrix[6];
     area_t **areas, *area;
     area_t *area0, *area1;
@@ -2365,7 +2362,7 @@
     event_t event;
     subject_t *redraw;
     int i;
-    coord_t *coord, **coords;
+    coord_t *coord;
     int n_areas;
     area_t **areas;