minor: remove some mono compiler warnings
parent
bb92ba97c6
commit
73b437b7b4
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue