diff options
author | Dr Scofield | 2008-06-27 16:58:21 +0000 |
---|---|---|
committer | Dr Scofield | 2008-06-27 16:58:21 +0000 |
commit | feb30217de48f4b3d869bf13453a945a04ee2524 (patch) | |
tree | 9da974ca87997d2bdfdda8c027314b01eb8c299a /OpenSim/Framework/PrimitiveBaseShape.cs | |
parent | * restore suppression of mono addins manager warnings (diff) | |
download | opensim-SC-feb30217de48f4b3d869bf13453a945a04ee2524.zip opensim-SC-feb30217de48f4b3d869bf13453a945a04ee2524.tar.gz opensim-SC-feb30217de48f4b3d869bf13453a945a04ee2524.tar.bz2 opensim-SC-feb30217de48f4b3d869bf13453a945a04ee2524.tar.xz |
dr scofield's warning safari:
* commented out [Obsolete(....)] attributes where no replacement feature
was available: if we want to attribute code that we think needs to be
reworked, we should define a new attribute and use that instead
(together with a little tool to retrieve all the attributed code then)
* commenting out unused variables
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/PrimitiveBaseShape.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/PrimitiveBaseShape.cs b/OpenSim/Framework/PrimitiveBaseShape.cs index 503830b..12ca688 100644 --- a/OpenSim/Framework/PrimitiveBaseShape.cs +++ b/OpenSim/Framework/PrimitiveBaseShape.cs | |||
@@ -341,7 +341,7 @@ namespace OpenSim.Framework | |||
341 | byte[] returnbytes = new byte[TotalBytesLength]; | 341 | byte[] returnbytes = new byte[TotalBytesLength]; |
342 | 342 | ||
343 | 343 | ||
344 | uint paramlength = ExtraParamsNum; | 344 | // uint paramlength = ExtraParamsNum; |
345 | 345 | ||
346 | // Stick in the number of parameters | 346 | // Stick in the number of parameters |
347 | returnbytes[i++] = (byte)ExtraParamsNum; | 347 | returnbytes[i++] = (byte)ExtraParamsNum; |
@@ -462,7 +462,7 @@ namespace OpenSim.Framework | |||
462 | ushort epType = Helpers.BytesToUInt16(data, i); | 462 | ushort epType = Helpers.BytesToUInt16(data, i); |
463 | 463 | ||
464 | i += 2; | 464 | i += 2; |
465 | uint paramLength = Helpers.BytesToUIntBig(data, i); | 465 | // uint paramLength = Helpers.BytesToUIntBig(data, i); |
466 | 466 | ||
467 | i += 4; | 467 | i += 4; |
468 | switch (epType) | 468 | switch (epType) |