minor: remove some mono compiler warnings

0.6.8-post-fixes
Justin Clark-Casey (justincc) 2009-11-12 18:30:32 +00:00
parent bb92ba97c6
commit 73b437b7b4
2 changed files with 17 additions and 17 deletions

View File

@ -162,22 +162,22 @@ namespace OpenSim.Data.SQLite
} }
} }
/// <summary> // /// <summary>
/// Some... logging functionnality // /// Some... logging functionnality
/// </summary> // /// </summary>
/// <param name="asset"></param> // /// <param name="asset"></param>
private static void LogAssetLoad(AssetBase asset) // private static void LogAssetLoad(AssetBase asset)
{ // {
string temporary = asset.Temporary ? "Temporary" : "Stored"; // string temporary = asset.Temporary ? "Temporary" : "Stored";
string local = asset.Local ? "Local" : "Remote"; // string local = asset.Local ? "Local" : "Remote";
//
int assetLength = (asset.Data != null) ? asset.Data.Length : 0; // int assetLength = (asset.Data != null) ? asset.Data.Length : 0;
//
m_log.Debug("[ASSET DB]: " + // m_log.Debug("[ASSET DB]: " +
string.Format("Loaded {5} {4} Asset: [{0}][{3}] \"{1}\":{2} ({6} bytes)", // string.Format("Loaded {5} {4} Asset: [{0}][{3}] \"{1}\":{2} ({6} bytes)",
asset.FullID, asset.Name, asset.Description, asset.Type, // asset.FullID, asset.Name, asset.Description, asset.Type,
temporary, local, assetLength)); // temporary, local, assetLength));
} // }
/// <summary> /// <summary>
/// Check if an asset exist in database /// Check if an asset exist in database

View File

@ -252,7 +252,7 @@ namespace OpenSim.Data.Tests
regionInfo.RegionLocX = 0; regionInfo.RegionLocX = 0;
regionInfo.RegionLocY = 0; regionInfo.RegionLocY = 0;
Scene scene = new Scene(regionInfo); // Scene scene = new Scene(regionInfo);
SceneObjectPart sop = new SceneObjectPart(); SceneObjectPart sop = new SceneObjectPart();
sop.RegionHandle = regionh; sop.RegionHandle = regionh;