Closed r-barnes closed 3 years ago
I'm seeing the following unused variables.
[48/118] Building CXX object src/lib/dglib/CMakeFiles/dglib.dir/lib/DgInAIGenFile.cpp.o ../src/lib/dglib/lib/DgInAIGenFile.cpp: In member function ‘virtual DgInLocFile& DgInAIGenFile::extract(DgLocVector&)’: ../src/lib/dglib/lib/DgInAIGenFile.cpp:87:28: warning: unused variable ‘v’ [-Wunused-variable] 87 | vector<DgAddressBase*>& v = vec.addressVec(); | ^ [110/118] Building CXX object src/apps/dggrid/CMakeFiles/dggrid.dir/binpres.cpp.o ../src/apps/dggrid/binpres.cpp: In function ‘void binPresGlobal(BinPresenceParam&)’: ../src/apps/dggrid/binpres.cpp:168:19: warning: unused variable ‘deg’ [-Wunused-variable] 168 | DgGeoSphDegRF& deg = *(DgGeoSphDegRF::makeRF(geoRF, geoRF.name() + "Deg")); | ^~~ ../src/apps/dggrid/binpres.cpp: In function ‘void binPresPartial(BinPresenceParam&)’: ../src/apps/dggrid/binpres.cpp:304:19: warning: unused variable ‘deg’ [-Wunused-variable] 304 | DgGeoSphDegRF& deg = *(DgGeoSphDegRF::makeRF(geoRF, geoRF.name() + "Deg")); | ^~~ [111/118] Building CXX object src/apps/dggrid/CMakeFiles/dggrid.dir/binvals.cpp.o ../src/apps/dggrid/binvals.cpp: In function ‘void binValsGlobal(BinValsParam&)’: ../src/apps/dggrid/binvals.cpp:180:19: warning: unused variable ‘deg’ [-Wunused-variable] 180 | DgGeoSphDegRF& deg = *(DgGeoSphDegRF::makeRF(geoRF, geoRF.name() + "Deg")); | ^~~ ../src/apps/dggrid/binvals.cpp: In function ‘void binValsPartial(BinValsParam&)’: ../src/apps/dggrid/binvals.cpp:312:19: warning: unused variable ‘deg’ [-Wunused-variable] 312 | DgGeoSphDegRF& deg = *(DgGeoSphDegRF::makeRF(geoRF, geoRF.name() + "Deg")); | ^~~ [114/118] Building CXX object src/apps/dggrid/CMakeFiles/dggrid.dir/transform.cpp.o ../src/apps/dggrid/transform.cpp: In function ‘void doTransform(TransformParam&)’: ../src/apps/dggrid/transform.cpp:147:19: warning: unused variable ‘deg’ [-Wunused-variable] 147 | DgGeoSphDegRF& deg = *(DgGeoSphDegRF::makeRF(geoRF, geoRF.name() + "Deg"));
Cleaning up old issues...
I'm seeing the following unused variables.