From 748f72326d9a295958bc9ba63bbb1a5d39030ef7 Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 27 Jun 2008 23:03:39 +0000 Subject: last round of warning squashing. calling it a day now. --- OpenSim/Data/MSSQL/MSSQLDataStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data/MSSQL/MSSQLDataStore.cs') diff --git a/OpenSim/Data/MSSQL/MSSQLDataStore.cs b/OpenSim/Data/MSSQL/MSSQLDataStore.cs index 42eab8e..17a52a8 100644 --- a/OpenSim/Data/MSSQL/MSSQLDataStore.cs +++ b/OpenSim/Data/MSSQL/MSSQLDataStore.cs @@ -370,7 +370,7 @@ namespace OpenSim.Data.MSSQL int revision = Util.UnixTimeSinceEpoch(); m_log.Info("[REGION DB]: Storing terrain revision r" + revision.ToString()); - DataTable terrain = m_dataSet.Tables["terrain"]; + // DataTable terrain = m_dataSet.Tables["terrain"]; lock (m_dataSet) { SqlCommand cmd = new SqlCommand("insert into terrain(RegionUUID, Revision, Heightfield)" + @@ -400,7 +400,7 @@ namespace OpenSim.Data.MSSQL where RegionUUID=@RegionUUID order by Revision desc" , m_connection); - SqlParameter param = new SqlParameter(); + // SqlParameter param = new SqlParameter(); cmd.Parameters.Add(new SqlParameter("@RegionUUID", regionID.UUID)); if (m_connection.State != ConnectionState.Open) -- cgit v1.1