Fix -Wunused-variable
This commit is contained in:
parent
4c0b4d8078
commit
afbea19d34
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user