diff options
author | Dr Scofield | 2008-06-27 23:03:39 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-27 23:03:39 +0000 |
commit | 748f72326d9a295958bc9ba63bbb1a5d39030ef7 (patch) | |
tree | 58f2c9a5f6b8ffab5ad3621070aa17cb1c1e3e6b /OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |
parent | more warnings to go. (diff) | |
download | opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.zip opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.gz opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.bz2 opensim-SC-748f72326d9a295958bc9ba63bbb1a5d39030ef7.tar.xz |
last round of warning squashing. calling it a day now.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 28a512b..6324f1a 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -3122,7 +3122,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3122 | 3122 | ||
3123 | } | 3123 | } |
3124 | 3124 | ||
3125 | double angle = 2 * Math.Acos(rot.s); | 3125 | // double angle = 2 * Math.Acos(rot.s); |
3126 | double s = Math.Sqrt(1 - rot.s * rot.s); | 3126 | double s = Math.Sqrt(1 - rot.s * rot.s); |
3127 | if (s < 0.001) | 3127 | if (s < 0.001) |
3128 | { | 3128 | { |
@@ -3960,7 +3960,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3960 | { | 3960 | { |
3961 | int index = str.IndexOf(delimiters[i].ToString()); | 3961 | int index = str.IndexOf(delimiters[i].ToString()); |
3962 | bool found = index != -1; | 3962 | bool found = index != -1; |
3963 | if (found && String.Empty != delimiters[i]) | 3963 | if (found && String.Empty != (string)delimiters[i]) |
3964 | { | 3964 | { |
3965 | if ((cindex > index) || (cindex == -1)) | 3965 | if ((cindex > index) || (cindex == -1)) |
3966 | { | 3966 | { |
@@ -4049,7 +4049,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4049 | 4049 | ||
4050 | private String[] GetNotecardLines(string name) | 4050 | private String[] GetNotecardLines(string name) |
4051 | { | 4051 | { |
4052 | bool found = false; | 4052 | // bool found = false; |
4053 | int notecardIndex = 0; | 4053 | int notecardIndex = 0; |
4054 | String[] notecardLines = { "0" }; | 4054 | String[] notecardLines = { "0" }; |
4055 | notecardLines[0] = String.Empty; | 4055 | notecardLines[0] = String.Empty; |