aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authorJeff Ames2008-02-06 08:31:29 +0000
committerJeff Ames2008-02-06 08:31:29 +0000
commit4ec4e2cb320293a1e3482cdf873ccc96acf65c4a (patch)
tree44eac2f4da15fe3d939082f3130ae74e48316033 /OpenSim/Region/ScriptEngine/Common
parentFixed typo in Mag() (Thanks lc_tuco for pointing this out) (diff)
downloadopensim-SC-4ec4e2cb320293a1e3482cdf873ccc96acf65c4a.zip
opensim-SC-4ec4e2cb320293a1e3482cdf873ccc96acf65c4a.tar.gz
opensim-SC-4ec4e2cb320293a1e3482cdf873ccc96acf65c4a.tar.bz2
opensim-SC-4ec4e2cb320293a1e3482cdf873ccc96acf65c4a.tar.xz
Cleaned up some unreachable code warnings.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs10
1 files changed, 0 insertions, 10 deletions
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
526 return 1; 526 return 1;
527 } 527 }
528 return 0; 528 return 0;
529 break;
530 case LSL_BaseClass.STATUS_PHANTOM: 529 case LSL_BaseClass.STATUS_PHANTOM:
531 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == (uint)LLObject.ObjectFlags.Phantom) 530 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == (uint)LLObject.ObjectFlags.Phantom)
532 { 531 {
533 return 1; 532 return 1;
534 } 533 }
535 return 0; 534 return 0;
536 break;
537 case LSL_BaseClass.STATUS_CAST_SHADOWS: 535 case LSL_BaseClass.STATUS_CAST_SHADOWS:
538 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) == (uint)LLObject.ObjectFlags.CastShadows) 536 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) == (uint)LLObject.ObjectFlags.CastShadows)
539 { 537 {
540 return 1; 538 return 1;
541 } 539 }
542 return 0; 540 return 0;
543 break;
544 case LSL_BaseClass.STATUS_BLOCK_GRAB: 541 case LSL_BaseClass.STATUS_BLOCK_GRAB:
545 NotImplemented("llGetStatus - STATUS_BLOCK_GRAB"); 542 NotImplemented("llGetStatus - STATUS_BLOCK_GRAB");
546 return 0; 543 return 0;
547 break;
548 case LSL_BaseClass.STATUS_DIE_AT_EDGE: 544 case LSL_BaseClass.STATUS_DIE_AT_EDGE:
549 NotImplemented("llGetStatus - STATUS_DIE_AT_EDGE"); 545 NotImplemented("llGetStatus - STATUS_DIE_AT_EDGE");
550 return 0; 546 return 0;
551 break;
552 case LSL_BaseClass.STATUS_RETURN_AT_EDGE: 547 case LSL_BaseClass.STATUS_RETURN_AT_EDGE:
553 NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE"); 548 NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE");
554 return 0; 549 return 0;
555 break;
556 case LSL_BaseClass.STATUS_ROTATE_X: 550 case LSL_BaseClass.STATUS_ROTATE_X:
557 NotImplemented("llGetStatus - STATUS_ROTATE_X"); 551 NotImplemented("llGetStatus - STATUS_ROTATE_X");
558 return 0; 552 return 0;
559 break;
560 case LSL_BaseClass.STATUS_ROTATE_Y: 553 case LSL_BaseClass.STATUS_ROTATE_Y:
561 NotImplemented("llGetStatus - STATUS_ROTATE_Y"); 554 NotImplemented("llGetStatus - STATUS_ROTATE_Y");
562 return 0; 555 return 0;
563 break;
564 case LSL_BaseClass.STATUS_ROTATE_Z: 556 case LSL_BaseClass.STATUS_ROTATE_Z:
565 NotImplemented("llGetStatus - STATUS_ROTATE_Z"); 557 NotImplemented("llGetStatus - STATUS_ROTATE_Z");
566 return 0; 558 return 0;
567 break;
568 case LSL_BaseClass.STATUS_SANDBOX: 559 case LSL_BaseClass.STATUS_SANDBOX:
569 NotImplemented("llGetStatus - STATUS_SANDBOX"); 560 NotImplemented("llGetStatus - STATUS_SANDBOX");
570 return 0; 561 return 0;
571 break;
572 } 562 }
573 NotImplemented("llGetStatus - Unknown Status parameter"); 563 NotImplemented("llGetStatus - Unknown Status parameter");
574 return 0; 564 return 0;