aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-29 18:11:41 +0000
committerJustin Clarke Casey2009-04-29 18:11:41 +0000
commitc320dca2db5c841976f5a36dab47cd3a8250c825 (patch)
tree4f52a315e0b3737aecd84cfc4f9a402fe9804a99 /OpenSim/Data/SQLite
parent* Make scene.oar the default oar target rather than scene.oar.tar.gz, in an a... (diff)
downloadopensim-SC_OLD-c320dca2db5c841976f5a36dab47cd3a8250c825.zip
opensim-SC_OLD-c320dca2db5c841976f5a36dab47cd3a8250c825.tar.gz
opensim-SC_OLD-c320dca2db5c841976f5a36dab47cd3a8250c825.tar.bz2
opensim-SC_OLD-c320dca2db5c841976f5a36dab47cd3a8250c825.tar.xz
* minor: remove some mono compiler warnings
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserData.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs
index 9485340..ac069ea 100644
--- a/OpenSim/Data/SQLite/SQLiteUserData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserData.cs
@@ -61,7 +61,6 @@ namespace OpenSim.Data.SQLite
61 private const string AvatarPickerAndSQL = "select * from users where username like :username and surname like :surname"; 61 private const string AvatarPickerAndSQL = "select * from users where username like :username and surname like :surname";
62 private const string AvatarPickerOrSQL = "select * from users where username like :username or surname like :surname"; 62 private const string AvatarPickerOrSQL = "select * from users where username like :username or surname like :surname";
63 63
64 private Dictionary<UUID, AvatarAppearance> aplist = new Dictionary<UUID, AvatarAppearance>();
65 private DataSet ds; 64 private DataSet ds;
66 private SqliteDataAdapter da; 65 private SqliteDataAdapter da;
67 private SqliteDataAdapter daf; 66 private SqliteDataAdapter daf;
@@ -162,7 +161,6 @@ namespace OpenSim.Data.SQLite
162 daa.Dispose(); 161 daa.Dispose();
163 daa = null; 162 daa = null;
164 } 163 }
165 aplist = null;
166 } 164 }
167 165
168 /// <summary> 166 /// <summary>
@@ -659,7 +657,6 @@ namespace OpenSim.Data.SQLite
659 AvatarAppearance aa = new AvatarAppearance(user); 657 AvatarAppearance aa = new AvatarAppearance(user);
660 //try { 658 //try {
661 aa.Owner = user; 659 aa.Owner = user;
662 //aplist[user] = appearance;
663 660
664 DataTable aap = ds.Tables["avatarappearance"]; 661 DataTable aap = ds.Tables["avatarappearance"];
665 lock (ds) 662 lock (ds)
@@ -726,7 +723,6 @@ namespace OpenSim.Data.SQLite
726 } 723 }
727 } 724 }
728 725
729 // aa = aplist[user];
730 // m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString()); 726 // m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString());
731 // } catch (KeyNotFoundException) { 727 // } catch (KeyNotFoundException) {
732 // m_log.InfoFormat("[APPEARANCE] No appearance found for {0}", user.ToString()); 728 // m_log.InfoFormat("[APPEARANCE] No appearance found for {0}", user.ToString());
@@ -742,7 +738,6 @@ namespace OpenSim.Data.SQLite
742 override public void UpdateUserAppearance(UUID user, AvatarAppearance appearance) 738 override public void UpdateUserAppearance(UUID user, AvatarAppearance appearance)
743 { 739 {
744 appearance.Owner = user; 740 appearance.Owner = user;
745 //aplist[user] = appearance;
746 DataTable aap = ds.Tables["avatarappearance"]; 741 DataTable aap = ds.Tables["avatarappearance"];
747 lock (ds) 742 lock (ds)
748 { 743 {