mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 10:15:33 +08:00
Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user