Commit 7c050dcb authored by Stefan Philips's avatar Stefan Philips
Browse files

[FIX] Remove compiler warning

parent 97676c25
......@@ -32,6 +32,8 @@ WScriptEngine::WScriptEngine( boost::shared_ptr<WModuleContainer> const& rootCon
{
#ifdef PYTHON_FOUND // this is defined in the CMake scripts
m_interpreters.push_back( boost::shared_ptr< WScriptInterpreter >( new WScriptInterpreterPython( rootContainer ) ) );
#else
( void ) rootContainer; // avoid compiler warning: unused parameter ‘rootContainer’
#endif
for( std::size_t k = 0; k < m_interpreters.size(); ++k )
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment