diff options
author | Dr Scofield | 2009-04-22 09:42:44 +0000 |
---|---|---|
committer | Dr Scofield | 2009-04-22 09:42:44 +0000 |
commit | 458f7eb9b38609d02980afe5a6ee88d19c7dd7f8 (patch) | |
tree | b8d2b6c140ca373ca5604f7087541f74185ac77c /OpenSim/Framework/Statistics | |
parent | * update example to reflect optional Well known hostname. (diff) | |
download | opensim-SC-458f7eb9b38609d02980afe5a6ee88d19c7dd7f8.zip opensim-SC-458f7eb9b38609d02980afe5a6ee88d19c7dd7f8.tar.gz opensim-SC-458f7eb9b38609d02980afe5a6ee88d19c7dd7f8.tar.bz2 opensim-SC-458f7eb9b38609d02980afe5a6ee88d19c7dd7f8.tar.xz |
cleaning up, fixing warnings
Diffstat (limited to 'OpenSim/Framework/Statistics')
-rw-r--r-- | OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs b/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs index d3513fc..bab2764 100644 --- a/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs +++ b/OpenSim/Framework/Statistics/SimExtraStatsCollector.cs | |||
@@ -28,10 +28,9 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using OpenMetaverse; | ||
32 | using OpenSim.Framework.Statistics.Interfaces; | ||
33 | 31 | ||
34 | using OpenMetaverse; | 32 | using OpenMetaverse; |
33 | using OpenSim.Framework.Statistics.Interfaces; | ||
35 | using OpenMetaverse.StructuredData; | 34 | using OpenMetaverse.StructuredData; |
36 | 35 | ||
37 | namespace OpenSim.Framework.Statistics | 36 | namespace OpenSim.Framework.Statistics |
@@ -421,11 +420,11 @@ Asset service request failures: {3}" + Environment.NewLine, | |||
421 | args["Memory"] = OSD.FromString(base.XReport()); | 420 | args["Memory"] = OSD.FromString(base.XReport()); |
422 | 421 | ||
423 | string strBuffer = ""; | 422 | string strBuffer = ""; |
424 | byte[] buffer = new byte[1]; | 423 | // byte[] buffer = new byte[1]; |
425 | 424 | ||
426 | strBuffer = OSDParser.SerializeJsonString(args); | 425 | strBuffer = OSDParser.SerializeJsonString(args); |
427 | UTF8Encoding str = new UTF8Encoding(); | 426 | // UTF8Encoding str = new UTF8Encoding(); |
428 | buffer = str.GetBytes(strBuffer); | 427 | // buffer = str.GetBytes(strBuffer); |
429 | 428 | ||
430 | return strBuffer; | 429 | return strBuffer; |
431 | } | 430 | } |