mettli / guichan

Automatically exported from code.google.com/p/guichan
Other
0 stars 0 forks source link

compiler warnings in imagefont.cpp #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
there are unused variables w and h which produces the following compiler
warnings:

src/imagefont.cpp: In constructor `gcn::ImageFont::ImageFont(const
std::string&, const std::string&)':
src/imagefont.cpp:101: warning: unused variable 'w'
src/imagefont.cpp:102: warning: unused variable 'h'
src/imagefont.cpp: In constructor `gcn::ImageFont::ImageFont(gcn::Image*,
const std::string&)':
src/imagefont.cpp:155: warning: unused variable 'w'
src/imagefont.cpp:156: warning: unused variable 'h'
src/imagefont.cpp: In constructor `gcn::ImageFont::ImageFont(const
std::string&, unsigned char, unsigned char)':
src/imagefont.cpp:203: warning: unused variable 'w'
src/imagefont.cpp:204: warning: unused variable 'h'

Original issue reported on code.google.com by igagis@gmail.com on 30 Apr 2008 at 1:56

GoogleCodeExporter commented 9 years ago
Forgot to mention, this is guichan 0.8.1

Original comment by igagis@gmail.com on 30 Apr 2008 at 1:57

GoogleCodeExporter commented 9 years ago
there are also warnings in window.cpp:

src/widgets/window.cpp: In member function `virtual void gcn::Window::draw(gcn::
Graphics*)':
src/widgets/window.cpp:131: warning: unused variable 'width'
src/widgets/window.cpp:132: warning: unused variable 'height'

Original comment by igagis@gmail.com on 30 Apr 2008 at 3:27

GoogleCodeExporter commented 9 years ago

Original comment by b.lindeijer on 30 Apr 2008 at 4:07

GoogleCodeExporter commented 9 years ago
Fixed by removing them in revision 1077.

Original comment by b.lindeijer on 30 Apr 2008 at 4:12

GoogleCodeExporter commented 9 years ago
Well done! Move this to Verified state.

Original comment by igagis@gmail.com on 30 Apr 2008 at 7:03