From d2806090aef48cff16d1ba2ae88ab0775f6a0489 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 4 Mar 2008 10:12:39 +0000 Subject: Cleaned up a couple compiler warnings. --- OpenSim/Grid/GridServer/GridManager.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Grid') diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index 2e6a892..568f3f2 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs @@ -522,7 +522,7 @@ namespace OpenSim.Grid.GridServer //RegionProfileData TheSim = null; string uuid = String.Empty;; Hashtable requestData = (Hashtable) request.Params[0]; - string myword; + if (requestData.ContainsKey("UUID")) { //TheSim = getRegion(new LLUUID((string) requestData["UUID"])); uuid = requestData["UUID"].ToString(); @@ -559,7 +559,8 @@ namespace OpenSim.Grid.GridServer break; } } - catch (Exception e) { + catch (Exception) + { m_log.Error("storage Unable to delete region " + uuid + " via MySQL"); //MainLog.Instance.Warn("storage", e.ToString()); } -- cgit v1.1