From 3d095e84d63e97e88bcb946498eba14de81705b4 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Fri, 6 May 2011 22:45:03 +0100 Subject: minor: remove mono compiler warnings --- OpenSim/Data/SQLite/SQLiteAuthenticationData.cs | 4 +--- OpenSim/Data/SQLite/SQLiteAvatarData.cs | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'OpenSim/Data') diff --git a/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs b/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs index c54bd74..c3b65bb 100644 --- a/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs +++ b/OpenSim/Data/SQLite/SQLiteAuthenticationData.cs @@ -33,7 +33,7 @@ using System.Reflection; using log4net; using OpenMetaverse; using OpenSim.Framework; -using log4net; + #if CSharpSqlite using Community.CsharpSqlite.Sqlite; #else @@ -49,7 +49,6 @@ namespace OpenSim.Data.SQLite private string m_Realm; private List m_ColumnNames; private int m_LastExpire; - private string m_connectionString; protected static SqliteConnection m_Connection; private static bool m_initialized = false; @@ -58,7 +57,6 @@ namespace OpenSim.Data.SQLite : base(connectionString) { m_Realm = realm; - m_connectionString = connectionString; if (!m_initialized) { diff --git a/OpenSim/Data/SQLite/SQLiteAvatarData.cs b/OpenSim/Data/SQLite/SQLiteAvatarData.cs index 60a1a3e..faf34da 100644 --- a/OpenSim/Data/SQLite/SQLiteAvatarData.cs +++ b/OpenSim/Data/SQLite/SQLiteAvatarData.cs @@ -47,7 +47,7 @@ namespace OpenSim.Data.SQLite public class SQLiteAvatarData : SQLiteGenericTableHandler, IAvatarData { - private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); +// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public SQLiteAvatarData(string connectionString, string realm) : base(connectionString, realm, "Avatar") -- cgit v1.1