From feb30217de48f4b3d869bf13453a945a04ee2524 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 27 Jun 2008 16:58:21 +0000 Subject: 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 --- OpenSim/Framework/PrimitiveBaseShape.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/PrimitiveBaseShape.cs') 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 byte[] returnbytes = new byte[TotalBytesLength]; - uint paramlength = ExtraParamsNum; + // uint paramlength = ExtraParamsNum; // Stick in the number of parameters returnbytes[i++] = (byte)ExtraParamsNum; @@ -462,7 +462,7 @@ namespace OpenSim.Framework ushort epType = Helpers.BytesToUInt16(data, i); i += 2; - uint paramLength = Helpers.BytesToUIntBig(data, i); + // uint paramLength = Helpers.BytesToUIntBig(data, i); i += 4; switch (epType) -- cgit v1.1