Removes some unread variables reported by LLVM. Refs #1114

This was SVN commit r12501.
This commit is contained in:
historic_bruno
2012-08-20 23:59:50 +00:00
parent 70c317b1b0
commit 0af34b1fcb
3 changed files with 2 additions and 3 deletions
-1
View File
@@ -526,7 +526,6 @@ void CNetServerWorker::AddPlayer(const CStr& guid, const CStrW& name)
{
// (do nothing)
}
foundPlayerID = true;
}
PlayerAssignment assignment;
+1 -1
View File
@@ -205,7 +205,7 @@ PSRETURN CGame::ReallyStartGame()
JSBool ok = JS_GetProperty(g_ScriptingHost.getContext(), g_GUI->GetScriptObject(), "reallyStartGame", &fval);
ENSURE(ok);
if (ok && !JSVAL_IS_VOID(fval))
ok = JS_CallFunctionValue(g_ScriptingHost.getContext(), g_GUI->GetScriptObject(), fval, 0, NULL, &rval);
JS_CallFunctionValue(g_ScriptingHost.getContext(), g_GUI->GetScriptObject(), fval, 0, NULL, &rval);
}
if (g_NetClient)
+1 -1
View File
@@ -1232,6 +1232,6 @@ void CancelLoad(const CStrW& message)
jsval msgval = ToJSVal(message);
if (ok && !JSVAL_IS_VOID(fval))
ok = JS_CallFunctionValue(cx, g_GUI->GetScriptObject(), fval, 1, &msgval, &rval);
JS_CallFunctionValue(cx, g_GUI->GetScriptObject(), fval, 1, &msgval, &rval);
}
}