Commit 6108f1b6 authored by Fabio Pelosin's avatar Fabio Pelosin

[Analyzer] Minor clean up

parent 816b81bc
...@@ -170,9 +170,9 @@ module Pod ...@@ -170,9 +170,9 @@ module Pod
# #
def generated_libraries def generated_libraries
libraries = [] libraries = []
podfile.target_definitions.values.each do |target_definition| podfile.target_definition_list.each do |target_definition|
lib = Library.new(target_definition) lib = Library.new(target_definition)
lib.support_files_root = sandbox.library_support_files_dir(lib.name) lib.support_files_root = sandbox.library_support_files_dir(lib.name)
if config.integrate_targets? if config.integrate_targets?
project_path = compute_user_project_path(target_definition) project_path = compute_user_project_path(target_definition)
...@@ -446,8 +446,7 @@ module Pod ...@@ -446,8 +446,7 @@ module Pod
end end
target_definition.set_platform(name, deployment_target) target_definition.set_platform(name, deployment_target)
platform = Platform.new(name, deployment_target) Platform.new(name, deployment_target)
platform
end end
#-----------------------------------------------------------------------# #-----------------------------------------------------------------------#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment