Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
7c050dcb
Commit
7c050dcb
authored
Dec 11, 2012
by
Stefan Philips
Browse files
[FIX] Remove compiler warning
parent
97676c25
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/core/scripting/WScriptEngine.cpp
src/core/scripting/WScriptEngine.cpp
+2
-0
No files found.
src/core/scripting/WScriptEngine.cpp
View file @
7c050dcb
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment