diff options
author | Justin Clarke Casey | 2008-08-01 16:22:26 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-08-01 16:22:26 +0000 |
commit | de4e3bfede11250a17283fa0821ceb6aa338e3b3 (patch) | |
tree | c79540feecf782abe9ac758eb7ffb64c8b6f9786 /OpenSim/Framework | |
parent | reinstates torus profile zflip which was mistakenly removed in patch 1870 (diff) | |
download | opensim-SC_OLD-de4e3bfede11250a17283fa0821ceb6aa338e3b3.zip opensim-SC_OLD-de4e3bfede11250a17283fa0821ceb6aa338e3b3.tar.gz opensim-SC_OLD-de4e3bfede11250a17283fa0821ceb6aa338e3b3.tar.bz2 opensim-SC_OLD-de4e3bfede11250a17283fa0821ceb6aa338e3b3.tar.xz |
* minor: eliminate some unused variables in InventoryFolderImpl
Diffstat (limited to 'OpenSim/Framework')
-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) |