diff options
author | Adam Frisby | 2008-05-07 21:42:23 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-07 21:42:23 +0000 |
commit | 5843f595a723cd37c6b95eac8e74f9d3586fff53 (patch) | |
tree | 0966fd8bed80042e14b49cfbf63da704017414d8 /OpenSim/Data/NHibernate/NHibernateUserData.cs | |
parent | * Added Obsolete() tag to IClientAPI.OutPacket. (diff) | |
download | opensim-SC-5843f595a723cd37c6b95eac8e74f9d3586fff53.zip opensim-SC-5843f595a723cd37c6b95eac8e74f9d3586fff53.tar.gz opensim-SC-5843f595a723cd37c6b95eac8e74f9d3586fff53.tar.bz2 opensim-SC-5843f595a723cd37c6b95eac8e74f9d3586fff53.tar.xz |
* Fixed some compiler warnings
* Fixed prebuild.xml to remove DB4o references (more compiler warnings)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateUserData.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateUserData.cs b/OpenSim/Data/NHibernate/NHibernateUserData.cs index 491cb2a..e680840 100644 --- a/OpenSim/Data/NHibernate/NHibernateUserData.cs +++ b/OpenSim/Data/NHibernate/NHibernateUserData.cs | |||
@@ -91,7 +91,7 @@ namespace OpenSim.Data.NHibernate | |||
91 | using(ISession session = factory.OpenSession()) { | 91 | using(ISession session = factory.OpenSession()) { |
92 | session.Load(typeof(UserProfileData), LLUUID.Zero); | 92 | session.Load(typeof(UserProfileData), LLUUID.Zero); |
93 | } | 93 | } |
94 | } catch (ObjectNotFoundException e) { | 94 | } catch (ObjectNotFoundException) { |
95 | // yes, we know it's not there, but that's ok | 95 | // yes, we know it's not there, but that's ok |
96 | } catch (ADOException e) { | 96 | } catch (ADOException e) { |
97 | Match m = RE.Match(e.ToString()); | 97 | Match m = RE.Match(e.ToString()); |
@@ -109,7 +109,8 @@ namespace OpenSim.Data.NHibernate | |||
109 | using(ISession session = factory.OpenSession()) { | 109 | using(ISession session = factory.OpenSession()) { |
110 | user = session.Load(typeof(UserProfileData), uuid) as UserProfileData; | 110 | user = session.Load(typeof(UserProfileData), uuid) as UserProfileData; |
111 | } | 111 | } |
112 | } catch (Exception e) {} | 112 | // BUG: CATCHALL IS BAD. |
113 | } catch (Exception) {} | ||
113 | 114 | ||
114 | return (user != null); | 115 | return (user != null); |
115 | } | 116 | } |