[Scummvm-cvs-logs] SF.net SVN: scummvm:[34341] scummvm/branches/gsoc2008-gui
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Fri Sep 5 13:32:24 CEST 2008
Revision: 34341
http://scummvm.svn.sourceforge.net/scummvm/?rev=34341&view=rev
Author: fingolfin
Date: 2008-09-05 11:32:23 +0000 (Fri, 05 Sep 2008)
Log Message:
-----------
Fixing some compiler warnings
Modified Paths:
--------------
scummvm/branches/gsoc2008-gui/graphics/VectorRendererSpec.h
scummvm/branches/gsoc2008-gui/gui/ThemeEngine.cpp
scummvm/branches/gsoc2008-gui/gui/ThemeEngine.h
scummvm/branches/gsoc2008-gui/gui/ThemeLayout.cpp
scummvm/branches/gsoc2008-gui/gui/ThemeLayout.h
Modified: scummvm/branches/gsoc2008-gui/graphics/VectorRendererSpec.h
===================================================================
--- scummvm/branches/gsoc2008-gui/graphics/VectorRendererSpec.h 2008-09-05 11:31:51 UTC (rev 34340)
+++ scummvm/branches/gsoc2008-gui/graphics/VectorRendererSpec.h 2008-09-05 11:32:23 UTC (rev 34341)
@@ -296,4 +296,4 @@
};
}
-#endif
\ No newline at end of file
+#endif
Modified: scummvm/branches/gsoc2008-gui/gui/ThemeEngine.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/ThemeEngine.cpp 2008-09-05 11:31:51 UTC (rev 34340)
+++ scummvm/branches/gsoc2008-gui/gui/ThemeEngine.cpp 2008-09-05 11:32:23 UTC (rev 34341)
@@ -939,8 +939,6 @@
* Screen/overlay management
*********************************************************/
void ThemeEngine::updateScreen() {
- ThemeItem *item = 0;
-
if (!_bufferQueue.empty()) {
_vectorRenderer->setSurface(_backBuffer);
Modified: scummvm/branches/gsoc2008-gui/gui/ThemeEngine.h
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/ThemeEngine.h 2008-09-05 11:31:51 UTC (rev 34340)
+++ scummvm/branches/gsoc2008-gui/gui/ThemeEngine.h 2008-09-05 11:32:23 UTC (rev 34341)
@@ -88,6 +88,7 @@
public:
ThemeItem(ThemeEngine *engine, const Common::Rect &area) :
_engine(engine), _area(area) {}
+ virtual ~ThemeItem() {}
virtual void drawSelf(bool doDraw, bool doRestore) = 0;
Modified: scummvm/branches/gsoc2008-gui/gui/ThemeLayout.cpp
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/ThemeLayout.cpp 2008-09-05 11:31:51 UTC (rev 34340)
+++ scummvm/branches/gsoc2008-gui/gui/ThemeLayout.cpp 2008-09-05 11:32:23 UTC (rev 34341)
@@ -224,4 +224,4 @@
}
-}
\ No newline at end of file
+}
Modified: scummvm/branches/gsoc2008-gui/gui/ThemeLayout.h
===================================================================
--- scummvm/branches/gsoc2008-gui/gui/ThemeLayout.h 2008-09-05 11:31:51 UTC (rev 34340)
+++ scummvm/branches/gsoc2008-gui/gui/ThemeLayout.h 2008-09-05 11:32:23 UTC (rev 34341)
@@ -236,4 +236,4 @@
}
-#endif
\ No newline at end of file
+#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list