1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Fixed/disabled warnings produced by GCC 7

This commit is contained in:
Maksim Shabunin
2017-11-29 16:51:50 +03:00
parent cc2ee923e4
commit 7eb1065944
3 changed files with 6 additions and 2 deletions
+2 -1
View File
@@ -426,7 +426,8 @@ bool GdalDecoder::readData( Mat& img ){
for( int y=0; y<nRows; y++ ){
// get the entire row
band->RasterIO( GF_Read, 0, y, nCols, 1, scanline, nCols, 1, GDT_Float64, 0, 0);
CPLErr err = band->RasterIO( GF_Read, 0, y, nCols, 1, scanline, nCols, 1, GDT_Float64, 0, 0);
CV_Assert(err == CE_None);
// set inside the image
for( int x=0; x<nCols; x++ ){