From 73b437b7b4e7b88c5b9be6f584019b3cd41df44a Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 12 Nov 2009 18:30:32 +0000
Subject: minor: remove some mono compiler warnings
---
OpenSim/Data/SQLite/SQLiteAssetData.cs | 32 ++++++++++++++++----------------
OpenSim/Data/Tests/BasicRegionTest.cs | 2 +-
2 files changed, 17 insertions(+), 17 deletions(-)
(limited to 'OpenSim/Data')
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs
index 11be28e..23642b3 100644
--- a/OpenSim/Data/SQLite/SQLiteAssetData.cs
+++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs
@@ -162,22 +162,22 @@ namespace OpenSim.Data.SQLite
}
}
- ///
- /// Some... logging functionnality
- ///
- ///
- private static void LogAssetLoad(AssetBase asset)
- {
- string temporary = asset.Temporary ? "Temporary" : "Stored";
- string local = asset.Local ? "Local" : "Remote";
-
- int assetLength = (asset.Data != null) ? asset.Data.Length : 0;
-
- m_log.Debug("[ASSET DB]: " +
- string.Format("Loaded {5} {4} Asset: [{0}][{3}] \"{1}\":{2} ({6} bytes)",
- asset.FullID, asset.Name, asset.Description, asset.Type,
- temporary, local, assetLength));
- }
+// ///
+// /// Some... logging functionnality
+// ///
+// ///
+// private static void LogAssetLoad(AssetBase asset)
+// {
+// string temporary = asset.Temporary ? "Temporary" : "Stored";
+// string local = asset.Local ? "Local" : "Remote";
+//
+// int assetLength = (asset.Data != null) ? asset.Data.Length : 0;
+//
+// m_log.Debug("[ASSET DB]: " +
+// string.Format("Loaded {5} {4} Asset: [{0}][{3}] \"{1}\":{2} ({6} bytes)",
+// asset.FullID, asset.Name, asset.Description, asset.Type,
+// temporary, local, assetLength));
+// }
///
/// Check if an asset exist in database
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index 60a8874..f76962c 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -252,7 +252,7 @@ namespace OpenSim.Data.Tests
regionInfo.RegionLocX = 0;
regionInfo.RegionLocY = 0;
- Scene scene = new Scene(regionInfo);
+// Scene scene = new Scene(regionInfo);
SceneObjectPart sop = new SceneObjectPart();
sop.RegionHandle = regionh;
--
cgit v1.1