mosra/magnum

few compile warnings

linuxaged opened this issue · 1 comments

  • magnum\src\Magnum\ImageFlags.cpp(43): warning C4060: switch statement contains no 'case' or 'default' labels
  • magnum\src\Magnum\GL\Context.cpp(1012): warning C4456: declaration of 'state' hides previous local declaration
  • magnum\src\Magnum\Trade\MaterialData.cpp(352): warning C4456: declaration of 'i' hides previous local declaration
  • magnum\src\Magnum\Trade\AbstractSceneConverter.cpp(1315): warning C4456: declaration of 'j' hides previous local declaration
mosra commented

Thank you! Should be fixed in 2e3baf1 and 28c1f84 -- I found a few more variable shadowing warnings and fixed them as well.

Oh, and sorry for the other warnings, reported in #544 -- I promise I'll fix them eventually as well :)