Removes some unread variables reported by LLVM. Refs #1114
This was SVN commit r12501.
This commit is contained in:
parent
70c317b1b0
commit
0af34b1fcb
@ -526,7 +526,6 @@ void CNetServerWorker::AddPlayer(const CStr& guid, const CStrW& name)
|
||||
{
|
||||
// (do nothing)
|
||||
}
|
||||
foundPlayerID = true;
|
||||
}
|
||||
|
||||
PlayerAssignment assignment;
|
||||
|
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user