pesty warnings

httptests
UbitUmarov 2018-01-17 07:04:07 +00:00
parent ade0d8a81f
commit e9d2d81880
7 changed files with 6 additions and 17 deletions

View File

@ -242,11 +242,7 @@ namespace OpenSim.Framework.Monitoring
public virtual OSDMap ToBriefOSDMap()
{
OSDMap ret = new OSDMap();
ret.Add("Value", OSD.FromReal(Value));
double lastChangeOverTime, averageChangeOverTime;
return ret;
}

View File

@ -2675,7 +2675,7 @@ namespace OpenSim.Framework
callback(o);
}
catch (ThreadAbortException e)
catch (ThreadAbortException)
{
}
catch (Exception e)

View File

@ -503,7 +503,6 @@ namespace OpenSim.Region.ClientStack.Linden
errorResponse.state = "error";
errorResponse.error = resperror;
return errorResponse;
break;
case FileAgentInventoryState.waitUpload:
// todo stop current uploader server
break;

View File

@ -335,7 +335,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
private readonly byte[] m_channelVersion = Utils.EmptyBytes;
private readonly IGroupsModule m_GroupsModule;
private int m_cachedTextureSerial;
// private int m_cachedTextureSerial;
private PriorityQueue m_entityUpdates;
private PriorityQueue m_entityProps;
private Prioritizer m_prioritizer;

View File

@ -306,7 +306,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
m_log.DebugFormat("[ATTACHMENTS MODULE]: Rezzing any attachments for {0} from simulator-side", sp.Name);
XmlDocument doc = new XmlDocument();
doc.XmlResolver=null;
string stateData = String.Empty;
IAttachmentsService attServ = m_scene.RequestModuleInterface<IAttachmentsService>();
@ -369,11 +368,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
{
string xmlData;
XmlDocument d = null;
UUID asset;
if (itemData.TryGetValue(attach.ItemID, out xmlData))
{
d = new XmlDocument();
d.XmlResolver=null;
d.LoadXml(xmlData);
m_log.InfoFormat("[ATTACHMENT]: Found saved state for item {0}, loading it", attach.ItemID);
}

View File

@ -196,8 +196,6 @@ namespace OpenSim.Region.Framework.Scenes
public void SendSimOnlineNotification(ulong regionHandle)
{
RegionInfo Result = null;
Scene s = m_localScenes.FindValue(delegate(Scene x)
{
if (x.RegionInfo.RegionHandle == regionHandle)

View File

@ -1589,14 +1589,12 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
f = new Face(k,l,m);
newfaces.Add(f);
}
return true;
}
catch
{
return false;
}
return false;
return true;
}
}
}