diff options
Diffstat (limited to 'OpenSim/Data/NHibernate')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateAssetData.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateAssetData.cs b/OpenSim/Data/NHibernate/NHibernateAssetData.cs index 9b5a9b6..2e9e897 100644 --- a/OpenSim/Data/NHibernate/NHibernateAssetData.cs +++ b/OpenSim/Data/NHibernate/NHibernateAssetData.cs | |||
@@ -123,7 +123,9 @@ namespace OpenSim.Data.NHibernate | |||
123 | { | 123 | { |
124 | try | 124 | try |
125 | { | 125 | { |
126 | AssetBase a = session.Load(typeof(AssetBase), asset.FullID) as AssetBase; | 126 | // a is not used anywhere? |
127 | // AssetBase a = session.Load(typeof(AssetBase), asset.FullID) as AssetBase; | ||
128 | session.Load(typeof(AssetBase), asset.FullID); | ||
127 | } | 129 | } |
128 | catch (ObjectNotFoundException) | 130 | catch (ObjectNotFoundException) |
129 | { | 131 | { |