Eliminated many warnings

This commit is contained in:
Oren Hurvitz
2014-04-22 20:04:12 +03:00
parent 617bc4710a
commit 998d7009a6
48 changed files with 101 additions and 77 deletions

View File

@@ -5200,8 +5200,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// NOTE: 3rd case is needed because a NULL_KEY comes through as
// type 'obj' and wrongly returns ""
else if (!(src.Data[index] is LSL_String ||
src.Data[index] is LSL_Key ||
src.Data[index] == "00000000-0000-0000-0000-000000000000"))
src.Data[index] is LSL_Key ||
src.Data[index].ToString() == "00000000-0000-0000-0000-000000000000"))
{
return "";
}