Cleaned up some unreachable code warnings.

ThreadPoolClientBranch
Jeff Ames 2008-02-06 08:31:29 +00:00
parent b68d2bd09a
commit 4ec4e2cb32
1 changed files with 0 additions and 10 deletions

View File

@ -526,49 +526,39 @@ namespace OpenSim.Region.ScriptEngine.Common
return 1; return 1;
} }
return 0; return 0;
break;
case LSL_BaseClass.STATUS_PHANTOM: case LSL_BaseClass.STATUS_PHANTOM:
if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == (uint)LLObject.ObjectFlags.Phantom) if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == (uint)LLObject.ObjectFlags.Phantom)
{ {
return 1; return 1;
} }
return 0; return 0;
break;
case LSL_BaseClass.STATUS_CAST_SHADOWS: case LSL_BaseClass.STATUS_CAST_SHADOWS:
if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) == (uint)LLObject.ObjectFlags.CastShadows) if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) == (uint)LLObject.ObjectFlags.CastShadows)
{ {
return 1; return 1;
} }
return 0; return 0;
break;
case LSL_BaseClass.STATUS_BLOCK_GRAB: case LSL_BaseClass.STATUS_BLOCK_GRAB:
NotImplemented("llGetStatus - STATUS_BLOCK_GRAB"); NotImplemented("llGetStatus - STATUS_BLOCK_GRAB");
return 0; return 0;
break;
case LSL_BaseClass.STATUS_DIE_AT_EDGE: case LSL_BaseClass.STATUS_DIE_AT_EDGE:
NotImplemented("llGetStatus - STATUS_DIE_AT_EDGE"); NotImplemented("llGetStatus - STATUS_DIE_AT_EDGE");
return 0; return 0;
break;
case LSL_BaseClass.STATUS_RETURN_AT_EDGE: case LSL_BaseClass.STATUS_RETURN_AT_EDGE:
NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE"); NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE");
return 0; return 0;
break;
case LSL_BaseClass.STATUS_ROTATE_X: case LSL_BaseClass.STATUS_ROTATE_X:
NotImplemented("llGetStatus - STATUS_ROTATE_X"); NotImplemented("llGetStatus - STATUS_ROTATE_X");
return 0; return 0;
break;
case LSL_BaseClass.STATUS_ROTATE_Y: case LSL_BaseClass.STATUS_ROTATE_Y:
NotImplemented("llGetStatus - STATUS_ROTATE_Y"); NotImplemented("llGetStatus - STATUS_ROTATE_Y");
return 0; return 0;
break;
case LSL_BaseClass.STATUS_ROTATE_Z: case LSL_BaseClass.STATUS_ROTATE_Z:
NotImplemented("llGetStatus - STATUS_ROTATE_Z"); NotImplemented("llGetStatus - STATUS_ROTATE_Z");
return 0; return 0;
break;
case LSL_BaseClass.STATUS_SANDBOX: case LSL_BaseClass.STATUS_SANDBOX:
NotImplemented("llGetStatus - STATUS_SANDBOX"); NotImplemented("llGetStatus - STATUS_SANDBOX");
return 0; return 0;
break;
} }
NotImplemented("llGetStatus - Unknown Status parameter"); NotImplemented("llGetStatus - Unknown Status parameter");
return 0; return 0;