Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch!

This commit is contained in:
Jeff Ames
2008-03-22 23:52:48 +00:00
parent 37121bcf72
commit 9a2b289e32
6 changed files with 26 additions and 27 deletions

View File

@@ -185,16 +185,16 @@ namespace pCampBot
/// <param name="commandParams"></param>
/// <param name="pos"></param>
/// <returns></returns>
private string CombineParams(string[] commandParams, int pos)
{
string result = String.Empty;
for (int i = pos; i < commandParams.Length; i++)
{
result += commandParams[i] + " ";
}
result = result.TrimEnd(' ');
return result;
}
// TODO: unused: private string CombineParams(string[] commandParams, int pos)
// TODO: unused: {
// TODO: unused: string result = String.Empty;
// TODO: unused: for (int i = pos; i < commandParams.Length; i++)
// TODO: unused: {
// TODO: unused: result += commandParams[i] + " ";
// TODO: unused: }
// TODO: unused: result = result.TrimEnd(' ');
// TODO: unused: return result;
// TODO: unused: }
/// <summary>
/// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit