DGtal-team / DGtal

Digital Geometry Tools and Algorithm Library
https://dgtal.org
GNU Lesser General Public License v3.0
370 stars 115 forks source link

Warnings to remove in board3Dto2D #199

Closed dcoeurjo closed 13 years ago

dcoeurjo commented 13 years ago

/home/dcoeurjo/Sources/DGtal/src/DGtal/io/boards/Board3DTo2D.cpp: In member function ‘void DGtal::Board3DTo2D::saveCairo(const char*, DGtal::Board3DTo2D::CairoType, int, int)’: /home/dcoeurjo/Sources/DGtal/src/DGtal/io/boards/Board3DTo2D.cpp:282:12: warning: declaration of ‘double width’ shadows a parameter /home/dcoeurjo/Sources/DGtal/src/DGtal/io/boards/Board3DTo2D.cpp:231:73: warning: shadowed declaration is here /home/dcoeurjo/Sources/DGtal/src/DGtal/io/boards/Board3DTo2D.cpp:377:12: warning: declaration of ‘double width’ shadows a parameter /home/dcoeurjo/Sources/DGtal/src/DGtal/io/boards/Board3DTo2D.cpp:231:73: warning: shadowed declaration is here

mtola commented 13 years ago

done in https://github.com/mtola/DGtal/commit/2e9b589828ce52e4c272bdeef5bceb7ba40b4336

mtola commented 13 years ago

cf. pull request https://github.com/DGtal-team/DGtal/pull/205