Commit 2e32fdc1 authored by Peter Ryszkiewicz's avatar Peter Ryszkiewicz

Removed unnecessary or'ing with false.

parent fab2fc34
...@@ -284,7 +284,7 @@ module Pod ...@@ -284,7 +284,7 @@ module Pod
def self.add_language_specific_settings(target, xcconfig) def self.add_language_specific_settings(target, xcconfig)
if target.uses_swift? if target.uses_swift?
other_swift_flags = ['$(inherited)', quote(%w(-D COCOAPODS))] other_swift_flags = ['$(inherited)', quote(%w(-D COCOAPODS))]
other_swift_flags += [quote(%w(-suppress-warnings))] if target.try(:inhibit_warnings?) || false other_swift_flags += [quote(%w(-suppress-warnings))] if target.try(:inhibit_warnings?)
build_settings = { 'OTHER_SWIFT_FLAGS' => other_swift_flags.join(' ') } build_settings = { 'OTHER_SWIFT_FLAGS' => other_swift_flags.join(' ') }
xcconfig.merge!(build_settings) xcconfig.merge!(build_settings)
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