Ver código fonte

remove unused variables (merge from devbr6)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34648 15284696-431f-4ddb-bdfa-cd5b030d7da7
Hamish Bowman 16 anos atrás
pai
commit
22c6fa97dd
1 arquivos alterados com 1 adições e 3 exclusões
  1. 1 3
      raster/r.watershed/seg/do_astar.c

+ 1 - 3
raster/r.watershed/seg/do_astar.c

@@ -140,10 +140,9 @@ int add_pt(SHORT r, SHORT c, SHORT downr, SHORT downc, CELL ele, CELL downe)
 int drop_pt(void)
 int drop_pt(void)
 {
 {
     int child, childr, parent;
     int child, childr, parent;
-    int childp, childrp, parentp;
+    int childp, childrp;
     CELL ele, eler;
     CELL ele, eler;
     int i;
     int i;
-    POINT point;
     HEAP heap_pos;
     HEAP heap_pos;
 
 
     if (heap_size == 1) {
     if (heap_size == 1) {
@@ -220,7 +219,6 @@ int drop_pt(void)
 int sift_up(int start, CELL ele)
 int sift_up(int start, CELL ele)
 {
 {
     int parent, parentp, child, childp;
     int parent, parentp, child, childp;
-    POINT point;
     CELL elep;
     CELL elep;
     HEAP heap_pos;
     HEAP heap_pos;