Minor cleanup.
James D. Callahan III [07-04-11 - 01:49]
diff --git a/Interface/List.lua b/Interface/List.lua
index 1692941..967824d 100644
--- a/Interface/List.lua
+++ b/Interface/List.lua
@@ -356,27 +356,10 @@ function private.InitializeListFrame()
if parent_entry then
if parent_entry ~= entry then
entry.parent = parent_entry
-
- local recipe_id = parent_entry.recipe_id
- local acquire_id = parent_entry.acquire_id
- local location_id = parent_entry.location_id
- local npc_id = parent_entry.npc_id
-
- if recipe_id then
- entry.recipe_id = recipe_id
- end
-
- if acquire_id then
- entry.acquire_id = acquire_id
- end
-
- if location_id then
- entry.location_id = location_id
- end
-
- if npc_id then
- entry.npc_id = npc_id
- end
+ entry.recipe_id = parent_entry.recipe_id
+ entry.acquire_id = parent_entry.acquire_id
+ entry.location_id = parent_entry.location_id
+ entry.npc_id = parent_entry.npc_id
else
addon:Debug("Attempting to parent an entry to itself.")
end