diff --git a/src/osgPlugins/cfg/ReaderWriterCFG.cpp b/src/osgPlugins/cfg/ReaderWriterCFG.cpp index 7197c0a8c..52602b281 100644 --- a/src/osgPlugins/cfg/ReaderWriterCFG.cpp +++ b/src/osgPlugins/cfg/ReaderWriterCFG.cpp @@ -91,7 +91,7 @@ static osg::GraphicsContext::Traits* buildTrait(RenderSurface& rs) return traits; } -static osgViewer::View* load(const std::string& file, const osgDB::ReaderWriter::Options* option) +static osgViewer::View* load(const std::string& file, const osgDB::ReaderWriter::Options* /*option*/) { osg::ref_ptr config = new CameraConfig; //std::cout << "Parse file " << file << std::endl; diff --git a/src/osgPlugins/cfg/RenderSurface.cpp b/src/osgPlugins/cfg/RenderSurface.cpp index c7649f906..caf696d7f 100644 --- a/src/osgPlugins/cfg/RenderSurface.cpp +++ b/src/osgPlugins/cfg/RenderSurface.cpp @@ -258,7 +258,7 @@ int RenderSurface::getScreenNum( void ) const return _screen; } -void RenderSurface::setWindowRectangle( int x, int y, unsigned int width, unsigned int height, bool resize) +void RenderSurface::setWindowRectangle( int x, int y, unsigned int width, unsigned int height, bool /*resize*/) { if( _useCustomFullScreen ) {