diff options
author | Justin Clark-Casey (justincc) | 2009-11-12 18:30:32 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-11-12 18:30:32 +0000 |
commit | 73b437b7b4e7b88c5b9be6f584019b3cd41df44a (patch) | |
tree | 28c1a3dc4cd0051f5f489e522b2abe1ad20451a3 /OpenSim | |
parent | Stop iar save failing on corrupt assets (diff) | |
download | opensim-SC-73b437b7b4e7b88c5b9be6f584019b3cd41df44a.zip opensim-SC-73b437b7b4e7b88c5b9be6f584019b3cd41df44a.tar.gz opensim-SC-73b437b7b4e7b88c5b9be6f584019b3cd41df44a.tar.bz2 opensim-SC-73b437b7b4e7b88c5b9be6f584019b3cd41df44a.tar.xz |
minor: remove some mono compiler warnings
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAssetData.cs | 32 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 2 |
2 files changed, 17 insertions, 17 deletions
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 | |||
162 | } | 162 | } |
163 | } | 163 | } |
164 | 164 | ||
165 | /// <summary> | 165 | // /// <summary> |
166 | /// Some... logging functionnality | 166 | // /// Some... logging functionnality |
167 | /// </summary> | 167 | // /// </summary> |
168 | /// <param name="asset"></param> | 168 | // /// <param name="asset"></param> |
169 | private static void LogAssetLoad(AssetBase asset) | 169 | // private static void LogAssetLoad(AssetBase asset) |
170 | { | 170 | // { |
171 | string temporary = asset.Temporary ? "Temporary" : "Stored"; | 171 | // string temporary = asset.Temporary ? "Temporary" : "Stored"; |
172 | string local = asset.Local ? "Local" : "Remote"; | 172 | // string local = asset.Local ? "Local" : "Remote"; |
173 | 173 | // | |
174 | int assetLength = (asset.Data != null) ? asset.Data.Length : 0; | 174 | // int assetLength = (asset.Data != null) ? asset.Data.Length : 0; |
175 | 175 | // | |
176 | m_log.Debug("[ASSET DB]: " + | 176 | // m_log.Debug("[ASSET DB]: " + |
177 | string.Format("Loaded {5} {4} Asset: [{0}][{3}] \"{1}\":{2} ({6} bytes)", | 177 | // string.Format("Loaded {5} {4} Asset: [{0}][{3}] \"{1}\":{2} ({6} bytes)", |
178 | asset.FullID, asset.Name, asset.Description, asset.Type, | 178 | // asset.FullID, asset.Name, asset.Description, asset.Type, |
179 | temporary, local, assetLength)); | 179 | // temporary, local, assetLength)); |
180 | } | 180 | // } |
181 | 181 | ||
182 | /// <summary> | 182 | /// <summary> |
183 | /// Check if an asset exist in database | 183 | /// 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 | |||
252 | regionInfo.RegionLocX = 0; | 252 | regionInfo.RegionLocX = 0; |
253 | regionInfo.RegionLocY = 0; | 253 | regionInfo.RegionLocY = 0; |
254 | 254 | ||
255 | Scene scene = new Scene(regionInfo); | 255 | // Scene scene = new Scene(regionInfo); |
256 | 256 | ||
257 | SceneObjectPart sop = new SceneObjectPart(); | 257 | SceneObjectPart sop = new SceneObjectPart(); |
258 | sop.RegionHandle = regionh; | 258 | sop.RegionHandle = regionh; |