diff --git a/OpenSim/Data/NHibernate/NHibernateRegionData.cs b/OpenSim/Data/NHibernate/NHibernateRegionData.cs
index 9b91f76275..a2caab13d2 100644
--- a/OpenSim/Data/NHibernate/NHibernateRegionData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateRegionData.cs
@@ -52,7 +52,7 @@ namespace OpenSim.Data.NHibernate
private Configuration cfg;
private ISessionFactory factory;
- private ISession session;
+ //private ISession session;
public void Initialise()
{
@@ -89,7 +89,7 @@ namespace OpenSim.Data.NHibernate
cfg.AddInputStream(stream);
factory = cfg.BuildSessionFactory();
- session = factory.OpenSession();
+ //session = factory.OpenSession();
// This actually does the roll forward assembly stuff
Assembly assem = GetType().Assembly;
@@ -119,7 +119,7 @@ namespace OpenSim.Data.NHibernate
/// the region UUID
public void StoreObject(SceneObjectGroup obj, LLUUID regionUUID)
{
- NHPrim[] prims = (NHPrim[]) obj.GetParts();
+ //NHPrim[] prims = (NHPrim[]) obj.GetParts();
}
///
@@ -242,18 +242,18 @@ namespace OpenSim.Data.NHibernate
///
///
///
- private static Array serializeTerrain(double[,] val)
- {
- MemoryStream str = new MemoryStream(65536*sizeof (double));
- BinaryWriter bw = new BinaryWriter(str);
-
- // TODO: COMPATIBILITY - Add byte-order conversions
- for (int x = 0; x < 256; x++)
- for (int y = 0; y < 256; y++)
- bw.Write(val[x, y]);
-
- return str.ToArray();
- }
+// private static Array serializeTerrain(double[,] val)
+// {
+// MemoryStream str = new MemoryStream(65536*sizeof (double));
+// BinaryWriter bw = new BinaryWriter(str);
+//
+// // TODO: COMPATIBILITY - Add byte-order conversions
+// for (int x = 0; x < 256; x++)
+// for (int y = 0; y < 256; y++)
+// bw.Write(val[x, y]);
+//
+// return str.ToArray();
+// }
///
/// see IRegionDatastore