diff options
author | Justin Clark-Casey (justincc) | 2010-02-03 22:19:28 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-02-03 22:19:28 +0000 |
commit | b9c3846e8126f3bafe457821c5244764744764e1 (patch) | |
tree | 39b05af529953ca14ab3057a6d010acee48fde83 | |
parent | Merge branch 'master' of ssh://justincc@opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-b9c3846e8126f3bafe457821c5244764744764e1.zip opensim-SC-b9c3846e8126f3bafe457821c5244764744764e1.tar.gz opensim-SC-b9c3846e8126f3bafe457821c5244764744764e1.tar.bz2 opensim-SC-b9c3846e8126f3bafe457821c5244764744764e1.tar.xz |
minor: remove some mono compiler warnings
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteAssetData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | 4 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteXInventoryData.cs | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteAssetData.cs b/OpenSim/Data/SQLite/SQLiteAssetData.cs index 23642b3..c52f60b 100644 --- a/OpenSim/Data/SQLite/SQLiteAssetData.cs +++ b/OpenSim/Data/SQLite/SQLiteAssetData.cs | |||
@@ -41,7 +41,7 @@ namespace OpenSim.Data.SQLite | |||
41 | /// </summary> | 41 | /// </summary> |
42 | public class SQLiteAssetData : AssetDataBase | 42 | public class SQLiteAssetData : AssetDataBase |
43 | { | 43 | { |
44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 44 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
45 | 45 | ||
46 | private const string SelectAssetSQL = "select * from assets where UUID=:UUID"; | 46 | private const string SelectAssetSQL = "select * from assets where UUID=:UUID"; |
47 | private const string SelectAssetMetadataSQL = "select Name, Description, Type, Temporary, UUID from assets limit :start, :count"; | 47 | private const string SelectAssetMetadataSQL = "select Name, Description, Type, Temporary, UUID from assets limit :start, :count"; |
diff --git a/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs b/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs index 6b67ec6..8e91693 100644 --- a/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs +++ b/OpenSim/Data/SQLite/SQLiteGenericTableHandler.cs | |||
@@ -39,9 +39,7 @@ namespace OpenSim.Data.SQLite | |||
39 | { | 39 | { |
40 | public class SQLiteGenericTableHandler<T> : SQLiteFramework where T: class, new() | 40 | public class SQLiteGenericTableHandler<T> : SQLiteFramework where T: class, new() |
41 | { | 41 | { |
42 | private static readonly ILog m_log = | 42 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
43 | LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | ||
44 | |||
45 | 43 | ||
46 | protected Dictionary<string, FieldInfo> m_Fields = | 44 | protected Dictionary<string, FieldInfo> m_Fields = |
47 | new Dictionary<string, FieldInfo>(); | 45 | new Dictionary<string, FieldInfo>(); |
diff --git a/OpenSim/Data/SQLite/SQLiteXInventoryData.cs b/OpenSim/Data/SQLite/SQLiteXInventoryData.cs index 97625a7..5c93f88 100644 --- a/OpenSim/Data/SQLite/SQLiteXInventoryData.cs +++ b/OpenSim/Data/SQLite/SQLiteXInventoryData.cs | |||
@@ -41,8 +41,7 @@ namespace OpenSim.Data.SQLite | |||
41 | /// </summary> | 41 | /// </summary> |
42 | public class SQLiteXInventoryData : IXInventoryData | 42 | public class SQLiteXInventoryData : IXInventoryData |
43 | { | 43 | { |
44 | private static readonly ILog m_log = LogManager.GetLogger( | 44 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
45 | MethodBase.GetCurrentMethod().DeclaringType); | ||
46 | 45 | ||
47 | private SQLiteGenericTableHandler<XInventoryFolder> m_Folders; | 46 | private SQLiteGenericTableHandler<XInventoryFolder> m_Folders; |
48 | private SqliteItemHandler m_Items; | 47 | private SqliteItemHandler m_Items; |