Browse files

Removes some unread variables reported by LLVM. Refs #1114

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@12501 3db68df2-c116-0410-a063-a993310a9797
  • Loading branch information...
1 parent 725bd62 commit 91101ef1d6c629e68d9255bece8e97e9a6a792d2 ben committed Aug 20, 2012
Showing with 2 additions and 3 deletions.
  1. +0 −1 source/network/NetServer.cpp
  2. +1 −1 source/ps/Game.cpp
  3. +1 −1 source/ps/GameSetup/GameSetup.cpp
View
1 source/network/NetServer.cpp
@@ -526,7 +526,6 @@ void CNetServerWorker::AddPlayer(const CStr& guid, const CStrW& name)
{
// (do nothing)
}
- foundPlayerID = true;
}
PlayerAssignment assignment;
View
2 source/ps/Game.cpp
@@ -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)
View
2 source/ps/GameSetup/GameSetup.cpp
@@ -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);
}
}

0 comments on commit 91101ef

Please sign in to comment.