diff options
author | Oren Hurvitz | 2014-04-22 20:04:12 +0300 |
---|---|---|
committer | Oren Hurvitz | 2014-04-23 16:37:36 +0300 |
commit | 998d7009a65def0a4debc9369d35b63611db5b55 (patch) | |
tree | d1303dc0387ae9ce4ddb076d5ccc856f3d5844e0 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Workaround for SRAS: if Store Asset returns 'null' then assume the asset alre... (diff) | |
download | opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.zip opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.gz opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.bz2 opensim-SC_OLD-998d7009a65def0a4debc9369d35b63611db5b55.tar.xz |
Eliminated many warnings
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 6afabf9..4d20e13 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -5200,8 +5200,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
5200 | // NOTE: 3rd case is needed because a NULL_KEY comes through as | 5200 | // NOTE: 3rd case is needed because a NULL_KEY comes through as |
5201 | // type 'obj' and wrongly returns "" | 5201 | // type 'obj' and wrongly returns "" |
5202 | else if (!(src.Data[index] is LSL_String || | 5202 | else if (!(src.Data[index] is LSL_String || |
5203 | src.Data[index] is LSL_Key || | 5203 | src.Data[index] is LSL_Key || |
5204 | src.Data[index] == "00000000-0000-0000-0000-000000000000")) | 5204 | src.Data[index].ToString() == "00000000-0000-0000-0000-000000000000")) |
5205 | { | 5205 | { |
5206 | return ""; | 5206 | return ""; |
5207 | } | 5207 | } |