mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* minor: remove warnings
This commit is contained in:
@@ -377,7 +377,7 @@ namespace OpenSim.Framework.Servers
|
||||
|
||||
Hashtable keysvals = new Hashtable();
|
||||
Hashtable headervals = new Hashtable();
|
||||
string host = String.Empty;
|
||||
//string host = String.Empty;
|
||||
|
||||
string[] querystringkeys = request.QueryString.AllKeys;
|
||||
string[] rHeaders = request.Headers.AllKeys;
|
||||
@@ -394,15 +394,16 @@ namespace OpenSim.Framework.Servers
|
||||
headervals[headername] = request.Headers[headername];
|
||||
}
|
||||
|
||||
if (headervals.Contains("Host"))
|
||||
{
|
||||
host = (string)headervals["Host"];
|
||||
}
|
||||
// if (headervals.Contains("Host"))
|
||||
// {
|
||||
// host = (string)headervals["Host"];
|
||||
// }
|
||||
|
||||
keysvals.Add("requestbody",requestBody);
|
||||
if (keysvals.Contains("method"))
|
||||
{
|
||||
//m_log.Warn("[HTTP]: Contains Method");
|
||||
string method = (string)keysvals["method"];
|
||||
//string method = (string)keysvals["method"];
|
||||
//m_log.Warn("[HTTP]: " + requestBody);
|
||||
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Archiver
|
||||
|
||||
public InventoryArchiveReadRequest(Scene currentScene, CommunicationsManager commsManager)
|
||||
{
|
||||
List<string> serialisedObjects = new List<string>();
|
||||
//List<string> serialisedObjects = new List<string>();
|
||||
scene = currentScene;
|
||||
this.commsManager = commsManager;
|
||||
}
|
||||
@@ -150,7 +150,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Archiver
|
||||
|
||||
string firstName = cmdparams[0];
|
||||
string lastName = cmdparams[1];
|
||||
string invPath = cmdparams[2];
|
||||
//string invPath = cmdparams[2];
|
||||
loadPath = (cmdparams.Length > 3 ? cmdparams[3] : "inventory.tar.gz");
|
||||
|
||||
archive
|
||||
@@ -192,7 +192,7 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Inventory.Archiver
|
||||
/// <returns>true if asset was successfully loaded, false otherwise</returns>
|
||||
private bool LoadAsset(string assetPath, byte[] data)
|
||||
{
|
||||
IRegionSerialiser serialiser = scene.RequestModuleInterface<IRegionSerialiser>();
|
||||
//IRegionSerialiser serialiser = scene.RequestModuleInterface<IRegionSerialiser>();
|
||||
// Right now we're nastily obtaining the UUID from the filename
|
||||
string filename = assetPath.Remove(0, ArchiveConstants.ASSETS_PATH.Length);
|
||||
int i = filename.LastIndexOf(ArchiveConstants.ASSET_EXTENSION_SEPARATOR);
|
||||
|
||||
Reference in New Issue
Block a user