Fix -Wunused-variable

This commit is contained in:
Nado 2016-08-26 18:49:34 +02:00
parent 4c0b4d8078
commit afbea19d34
2 changed files with 1 additions and 3 deletions

View File

@ -378,7 +378,7 @@ namespace Scripting
Log::error("Scripting", "The script ended with an exception.");
// Write some information about the script exception
asIScriptFunction *func = ctx->GetExceptionFunction();
//asIScriptFunction *func = ctx->GetExceptionFunction();
//std::cout << "func: " << func->GetDeclaration() << std::endl;
//std::cout << "modl: " << func->GetModuleName() << std::endl;
//std::cout << "sect: " << func->GetScriptSectionName() << std::endl;
@ -520,7 +520,6 @@ namespace Scripting
{
if (m_callback_delegate != NULL)
{
asIScriptEngine* engine = World::getWorld()->getScriptEngine()->getEngine();
m_callback_delegate->Release();
}
}

View File

@ -241,7 +241,6 @@ void ServerSelection::onUpdate(float dt)
m_server_list_widget->clear();
ServersManager *manager = ServersManager::get();
loadList();
m_server_list_widget->addItem("spacer", L"");
m_server_list_widget->addItem("loading",