From 9a2b289e328e336f349974302df41b34c92893c3 Mon Sep 17 00:00:00 2001
From: Jeff Ames
Date: Sat, 22 Mar 2008 23:52:48 +0000
Subject: Fix compiler warnings in pCampBot, TestSuite, and
ScriptEngine/RemoteServer. Thanks daTwitch!
---
OpenSim/Tools/pCampBot/BotManager.cs | 20 ++++++++++----------
OpenSim/Tools/pCampBot/PhysicsBot.cs | 2 +-
2 files changed, 11 insertions(+), 11 deletions(-)
(limited to 'OpenSim/Tools')
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index 84648cd..a18fa1b 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -185,16 +185,16 @@ namespace pCampBot
///
///
///
- 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: }
///
/// Command runnint tool.. Currently use it to add bots, shutdown and (dangerous)Forcequit
diff --git a/OpenSim/Tools/pCampBot/PhysicsBot.cs b/OpenSim/Tools/pCampBot/PhysicsBot.cs
index b079da6..8495b09 100644
--- a/OpenSim/Tools/pCampBot/PhysicsBot.cs
+++ b/OpenSim/Tools/pCampBot/PhysicsBot.cs
@@ -89,7 +89,7 @@ namespace pCampBot
client.Self.Movement.AlwaysRun = false;
}
- LLVector3 pos = client.Self.SimPosition;
+ // TODO: unused: LLVector3 pos = client.Self.SimPosition;
LLVector3 newpos = new LLVector3(somthing.Next(255), somthing.Next(255), somthing.Next(255));
client.Self.Movement.TurnToward(newpos);
--
cgit v1.1