diff --git a/applications/present3D/Cluster.h b/applications/present3D/Cluster.h index 9afa01b81..9d5f367e4 100644 --- a/applications/present3D/Cluster.h +++ b/applications/present3D/Cluster.h @@ -141,7 +141,7 @@ class CameraPacket { void writeEventQueue(osgViewer::Viewer& viewer); void setMasterKilled(const bool flag) { _masterKilled = flag; } - const bool getMasterKilled() const { return _masterKilled; } + bool getMasterKilled() const { return _masterKilled; } unsigned int _byte_order; bool _masterKilled; diff --git a/applications/present3D/SpellChecker.cpp b/applications/present3D/SpellChecker.cpp index ae2da32ad..56b9220a8 100644 --- a/applications/present3D/SpellChecker.cpp +++ b/applications/present3D/SpellChecker.cpp @@ -86,7 +86,7 @@ bool SpellChecker::isCorrect(const std::string& word) const return true; } -SpellChecker::WordList SpellChecker::suggest(const std::string& word) const +SpellChecker::WordList SpellChecker::suggest(const std::string& /*word*/) const { return WordList(); } diff --git a/applications/present3D/present3D.cpp b/applications/present3D/present3D.cpp index a757f4786..0e0c6abec 100644 --- a/applications/present3D/present3D.cpp +++ b/applications/present3D/present3D.cpp @@ -137,7 +137,7 @@ class ForwardToDeviceEventHandler : public osgGA::GUIEventHandler { public: ForwardToDeviceEventHandler(osgGA::Device* device, bool format_mouse_events) : osgGA::GUIEventHandler(), _device(device), _forwardMouseEvents(format_mouse_events) {} - virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *) + virtual bool handle (const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/, osg::Object *, osg::NodeVisitor *) { switch (ea.getEventType()) { @@ -180,7 +180,7 @@ class DumpEventHandler : public osgGA::GUIEventHandler { public: DumpEventHandler() : osgGA::GUIEventHandler() {} - virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa, osg::Object *, osg::NodeVisitor *) + virtual bool handle (const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& /*aa*/, osg::Object *, osg::NodeVisitor *) { switch (ea.getEventType()) {