From 4ec4e2cb320293a1e3482cdf873ccc96acf65c4a Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Wed, 6 Feb 2008 08:31:29 +0000 Subject: Cleaned up some unreachable code warnings. --- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 01a1f92..6540c89 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -526,49 +526,39 @@ namespace OpenSim.Region.ScriptEngine.Common return 1; } return 0; - break; case LSL_BaseClass.STATUS_PHANTOM: if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == (uint)LLObject.ObjectFlags.Phantom) { return 1; } return 0; - break; case LSL_BaseClass.STATUS_CAST_SHADOWS: if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) == (uint)LLObject.ObjectFlags.CastShadows) { return 1; } return 0; - break; case LSL_BaseClass.STATUS_BLOCK_GRAB: NotImplemented("llGetStatus - STATUS_BLOCK_GRAB"); return 0; - break; case LSL_BaseClass.STATUS_DIE_AT_EDGE: NotImplemented("llGetStatus - STATUS_DIE_AT_EDGE"); return 0; - break; case LSL_BaseClass.STATUS_RETURN_AT_EDGE: NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE"); return 0; - break; case LSL_BaseClass.STATUS_ROTATE_X: NotImplemented("llGetStatus - STATUS_ROTATE_X"); return 0; - break; case LSL_BaseClass.STATUS_ROTATE_Y: NotImplemented("llGetStatus - STATUS_ROTATE_Y"); return 0; - break; case LSL_BaseClass.STATUS_ROTATE_Z: NotImplemented("llGetStatus - STATUS_ROTATE_Z"); return 0; - break; case LSL_BaseClass.STATUS_SANDBOX: NotImplemented("llGetStatus - STATUS_SANDBOX"); return 0; - break; } NotImplemented("llGetStatus - Unknown Status parameter"); return 0; -- cgit v1.1