diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs index 96853f0..d7de9d6 100644 --- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs +++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs | |||
@@ -215,7 +215,6 @@ namespace OpenSim.Framework.Communications.Cache | |||
215 | if (path == string.Empty) | 215 | if (path == string.Empty) |
216 | return this; | 216 | return this; |
217 | 217 | ||
218 | int delimitorIndex = path.IndexOf(PATH_DELIMITER); | ||
219 | string[] components = path.Split(new string[] { PATH_DELIMITER }, 2, StringSplitOptions.None); | 218 | string[] components = path.Split(new string[] { PATH_DELIMITER }, 2, StringSplitOptions.None); |
220 | 219 | ||
221 | lock (SubFolders) | 220 | lock (SubFolders) |
@@ -250,7 +249,6 @@ namespace OpenSim.Framework.Communications.Cache | |||
250 | /// <returns>null if the item is not found</returns> | 249 | /// <returns>null if the item is not found</returns> |
251 | public InventoryItemBase FindItemByPath(string path) | 250 | public InventoryItemBase FindItemByPath(string path) |
252 | { | 251 | { |
253 | int delimitorIndex = path.IndexOf(PATH_DELIMITER); | ||
254 | string[] components = path.Split(new string[] { PATH_DELIMITER }, 2, StringSplitOptions.None); | 252 | string[] components = path.Split(new string[] { PATH_DELIMITER }, 2, StringSplitOptions.None); |
255 | 253 | ||
256 | if (components.Length == 1) | 254 | if (components.Length == 1) |