fixed compiler warnings for unused variables
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Thu, 24 Nov 2011 16:04:54 +0000 (17:04 +0100)
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>
Tue, 29 Nov 2011 13:51:09 +0000 (14:51 +0100)
LayerManagerCommands/src/LayerDumpCommand.cpp
LayerManagerCommands/src/ScreenDumpCommand.cpp

index 0f7d855..c95a48a 100644 (file)
@@ -34,7 +34,6 @@ ExecutionResult LayerDumpCommand::execute(ICommandExecutor* executor)
     RendererList& m_rendererList = *(executor->getRendererList());
 
     bool status = false;
-    unsigned int layer_id = 0;
 
     LOG_INFO("LayerDumpCommand","making screenshot, output file: " << m_filename);
 
index 0bb3096..c7bab39 100644 (file)
@@ -30,11 +30,9 @@ ScreenDumpCommand::ScreenDumpCommand(char* givenfilename, unsigned int id)
 ExecutionResult ScreenDumpCommand::execute(ICommandExecutor* executor)
 {
        ExecutionResult result = ExecutionFailed;
-    Scene& scene = *(executor->getScene());
     RendererList& m_rendererList = *(executor->getRendererList());
 
     bool status = false;
-    unsigned int layer_id = 0;
 
     LOG_INFO("ScreenDumpCommand","making screenshot, output file: " << m_filename);