Browse Source

rasterlib: sync Rast_read_fp_range() to Rast_write_fp_range()

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@62143 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 years ago
parent
commit
33c696e8ea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/raster/range.c

+ 2 - 2
lib/raster/range.c

@@ -105,9 +105,9 @@ int Rast_read_fp_range(const char *name, const char *mapset,
 	}
 
 	if (read(fd, xdr_buf, sizeof(xdr_buf)) != sizeof(xdr_buf)) {
-	    /* if the f_range file exists, but empty */
+	    /* if the f_range file exists, but empty file, meaning Nulls */
 	    close(fd);
-	    G_warning(_("Unable to read fp range file for <%s>"),
+	    G_debug(1, "Empty fp range file meaning Nulls for <%s>",
 		      G_fully_qualified_name(name, mapset));
 	    return 2;
 	}