Opened 17 years ago

Closed 17 years ago

#1847 closed defect (fixed)

Idrisi warning at compilation

Reported by: Even Rouault Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords:
Cc: ilucena

Description

I noticed this warning when building GDAL. This warning sounds like an error rather than a simple warning.

make[2]: Entering directory `/home/even/downloads/mapserver/gdal64/gdal/frmts/idrisi' g++ -Wall -fPIC -O2 -fvisibility=hidden -I/home/even/downloads/mapserver/gdal64/gdal/port -I/home/even/downloads/mapserver/gdal64/gdal/gcore -I/home/even/downloads/mapserver/gdal64/gdal/alg -I/home/even/downloads/mapserver/gdal64/gdal/ogr -I/home/even/downloads/mapserver/gdal64/gdal/ogr/ogrsf_frmts -DOGR_ENABLED -I/home/even/downloads/mapserver/gdal64/gdal/port -c -o ../o/IdrisiDataset.o IdrisiDataset.cpp IdrisiDataset.cpp: In static member function 'static GDALDataset* IdrisiDataset::CreateCopy(const char*, GDALDataset*, int, char, int (*)(double, const char*, void*), void*)': IdrisiDataset.cpp:1015: warning: 'dfMean' is used uninitialized in this function IdrisiDataset.cpp:1015: warning: 'dfStdDev' is used uninitialized in this function

This dates back to r12143

Change History (1)

comment:1 by ilucena, 17 years ago

Resolution: fixed
Status: newclosed

revision 12188

Note: See TracTickets for help on using tickets.