瀏覽代碼

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 年之前
父節點
當前提交
22c6fa97dd
共有 1 個文件被更改,包括 1 次插入3 次删除
  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 child, childr, parent;
-    int childp, childrp, parentp;
+    int childp, childrp;
     CELL ele, eler;
     int i;
-    POINT point;
     HEAP heap_pos;
 
     if (heap_size == 1) {
@@ -220,7 +219,6 @@ int drop_pt(void)
 int sift_up(int start, CELL ele)
 {
     int parent, parentp, child, childp;
-    POINT point;
     CELL elep;
     HEAP heap_pos;