diff options
author | Jeff Ames | 2008-03-22 23:52:48 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-22 23:52:48 +0000 |
commit | 9a2b289e328e336f349974302df41b34c92893c3 (patch) | |
tree | c44b4ae8c862446e3f04df8237563f544ed96063 /OpenSim/TestSuite/PhysicsBot.cs | |
parent | Update svn properties. (diff) | |
download | opensim-SC-9a2b289e328e336f349974302df41b34c92893c3.zip opensim-SC-9a2b289e328e336f349974302df41b34c92893c3.tar.gz opensim-SC-9a2b289e328e336f349974302df41b34c92893c3.tar.bz2 opensim-SC-9a2b289e328e336f349974302df41b34c92893c3.tar.xz |
Fix compiler warnings in pCampBot, TestSuite, and ScriptEngine/RemoteServer. Thanks daTwitch!
Diffstat (limited to 'OpenSim/TestSuite/PhysicsBot.cs')
-rw-r--r-- | OpenSim/TestSuite/PhysicsBot.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/TestSuite/PhysicsBot.cs b/OpenSim/TestSuite/PhysicsBot.cs index fd9b73a..792465f 100644 --- a/OpenSim/TestSuite/PhysicsBot.cs +++ b/OpenSim/TestSuite/PhysicsBot.cs | |||
@@ -57,7 +57,6 @@ namespace OpenSim.TestSuite | |||
57 | 57 | ||
58 | protected Random somthing = new Random(System.Environment.TickCount);// We do stuff randomly here | 58 | protected Random somthing = new Random(System.Environment.TickCount);// We do stuff randomly here |
59 | 59 | ||
60 | private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | ||
61 | 60 | ||
62 | //New instance of a SecondLife client | 61 | //New instance of a SecondLife client |
63 | public SecondLife client = new SecondLife(); | 62 | public SecondLife client = new SecondLife(); |
@@ -92,7 +91,7 @@ namespace OpenSim.TestSuite | |||
92 | client.Self.Movement.AlwaysRun = false; | 91 | client.Self.Movement.AlwaysRun = false; |
93 | } | 92 | } |
94 | 93 | ||
95 | LLVector3 pos = client.Self.SimPosition; | 94 | // TODO: unused: LLVector3 pos = client.Self.SimPosition; |
96 | LLVector3 newpos = new LLVector3(somthing.Next(255), somthing.Next(255), somthing.Next(255)); | 95 | LLVector3 newpos = new LLVector3(somthing.Next(255), somthing.Next(255), somthing.Next(255)); |
97 | client.Self.Movement.TurnToward(newpos); | 96 | client.Self.Movement.TurnToward(newpos); |
98 | 97 | ||