[GRASS-SVN] r63688 - grass/branches/releasebranch_6_4/raster/r.out.gdal
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Dec 22 13:02:19 PST 2014
Author: neteler
Date: 2014-12-22 13:02:19 -0800 (Mon, 22 Dec 2014)
New Revision: 63688
Modified:
grass/branches/releasebranch_6_4/raster/r.out.gdal/export_band.c
Log:
r.out.gdal: fix #2512
Modified: grass/branches/releasebranch_6_4/raster/r.out.gdal/export_band.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.out.gdal/export_band.c 2014-12-22 20:54:35 UTC (rev 63687)
+++ grass/branches/releasebranch_6_4/raster/r.out.gdal/export_band.c 2014-12-22 21:02:19 UTC (rev 63688)
@@ -267,11 +267,6 @@
G_get_fp_range_min_max(&sRange, &dfCellMin, &dfCellMax);
}
- /* suppress useless warnings */
- CPLPushErrorHandler(CPLQuietErrorHandler);
- GDALSetRasterColorInterpretation(hBand, GPI_RGB);
- CPLPopErrorHandler();
-
/* use default color rules if no color rules are given */
if (G_read_colors(name, mapset, &sGrassColors) >= 0) {
int maxcolor, i;
More information about the grass-commit
mailing list