[GRASS-SVN] r59396 - grass-addons/grass7/raster/r.stream.channel

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Mar 27 03:35:51 PDT 2014


Author: martinl
Date: 2014-03-27 03:35:51 -0700 (Thu, 27 Mar 2014)
New Revision: 59396

Modified:
   grass-addons/grass7/raster/r.stream.channel/stream_write.c
Log:
r.stream.channel: surpress compiler warnings

Modified: grass-addons/grass7/raster/r.stream.channel/stream_write.c
===================================================================
--- grass-addons/grass7/raster/r.stream.channel/stream_write.c	2014-03-27 10:31:32 UTC (rev 59395)
+++ grass-addons/grass7/raster/r.stream.channel/stream_write.c	2014-03-27 10:35:51 UTC (rev 59396)
@@ -31,6 +31,7 @@
     int i, j;
     STREAM *SA;
 
+    G_debug(3, "ram_calculate_identifiers(): downstream=%d", downstream);
     SA = stream_attributes;
 
     for (i = 1; i < number_of_streams; ++i) {
@@ -51,6 +52,7 @@
     int i, j;
     STREAM *SA;
 
+    G_debug(3, "seg_calculate_identifiers(): downstream=%d", downstream);
     SA = stream_attributes;
 
     for (i = 1; i < number_of_streams; ++i) {
@@ -372,6 +374,7 @@
     double elev_diff;
     STREAM *SA;
 
+    G_debug(3, "ram_calculate_local_gradient(): downstream=%d", downstream);
     SA = stream_attributes;
 
     for (i = 1; i < number_of_streams; ++i) {
@@ -397,6 +400,7 @@
     double output_cell;
     STREAM *SA;
 
+    G_debug(3, "seg_calculate_local_gradient(): downstream=%d", downstream);
     SA = stream_attributes;
 
     for (i = 1; i < number_of_streams; ++i) {
@@ -422,6 +426,7 @@
     int i, j;
     STREAM *SA;
 
+    G_debug(3, "ram_calculate_local_distance(): downstream=%d", downstream);
     SA = stream_attributes;
 
     for (i = 1; i < number_of_streams; ++i) {
@@ -443,6 +448,7 @@
     double output_cell;
     STREAM *SA;
 
+    G_debug(3, "seg_calculate_local_distance(): downstream=%d", downstream);
     SA = stream_attributes;
 
     for (i = 1; i < number_of_streams; ++i) {
@@ -465,6 +471,7 @@
     STREAM *SA;
     double first_derivative, second_derivative;
 
+    G_debug(3, "ram_calculate_curvature(): downstream=%d", downstream);
     SA = stream_attributes;
 
     for (i = 1; i < number_of_streams; ++i) {
@@ -498,6 +505,7 @@
     STREAM *SA;
     double first_derivative, second_derivative;
 
+    G_debug(3, "seg_calculate_curvature(): downstream=%d", downstream);
     SA = stream_attributes;
 
     for (i = 1; i < number_of_streams; ++i) {



More information about the grass-commit mailing list