diff options
author | Justin Clarke Casey | 2008-09-26 15:28:14 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-09-26 15:28:14 +0000 |
commit | 97323345ee7953258c6902138c50265eac39c319 (patch) | |
tree | 383249b76c73023a318c3e60f2b5968c630240a6 /OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs | |
parent | * Apply http://opensimulator.org/mantis/view.php?id=2274 (diff) | |
download | opensim-SC-97323345ee7953258c6902138c50265eac39c319.zip opensim-SC-97323345ee7953258c6902138c50265eac39c319.tar.gz opensim-SC-97323345ee7953258c6902138c50265eac39c319.tar.bz2 opensim-SC-97323345ee7953258c6902138c50265eac39c319.tar.xz |
* minor: remove warnings
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs index 9c0888a..5484ad5 100644 --- a/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs +++ b/OpenSim/Region/Environment/Modules/Agent/AssetTransaction/AssetXferUploader.cs | |||
@@ -55,7 +55,6 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction | |||
55 | private IClientAPI ourClient; | 55 | private IClientAPI ourClient; |
56 | private UUID TransactionID = UUID.Zero; | 56 | private UUID TransactionID = UUID.Zero; |
57 | private sbyte type = 0; | 57 | private sbyte type = 0; |
58 | private bool UploadComplete; | ||
59 | private byte wearableType = 0; | 58 | private byte wearableType = 0; |
60 | public ulong XferID; | 59 | public ulong XferID; |
61 | 60 | ||
@@ -140,15 +139,12 @@ namespace OpenSim.Region.Environment.Modules.Agent.AssetTransaction | |||
140 | 139 | ||
141 | protected void RequestStartXfer() | 140 | protected void RequestStartXfer() |
142 | { | 141 | { |
143 | UploadComplete = false; | ||
144 | XferID = Util.GetNextXferID(); | 142 | XferID = Util.GetNextXferID(); |
145 | ourClient.SendXferRequest(XferID, m_asset.Type, m_asset.FullID, 0, new byte[0]); | 143 | ourClient.SendXferRequest(XferID, m_asset.Type, m_asset.FullID, 0, new byte[0]); |
146 | } | 144 | } |
147 | 145 | ||
148 | protected void SendCompleteMessage() | 146 | protected void SendCompleteMessage() |
149 | { | 147 | { |
150 | UploadComplete = true; | ||
151 | |||
152 | ourClient.SendAssetUploadCompleteMessage(m_asset.Type, true, m_asset.FullID); | 148 | ourClient.SendAssetUploadCompleteMessage(m_asset.Type, true, m_asset.FullID); |
153 | 149 | ||
154 | m_finished = true; | 150 | m_finished = true; |