diff --git a/Ditto.xcodeproj/project.pbxproj b/Ditto.xcodeproj/project.pbxproj index 1636cf0..44149c7 100644 --- a/Ditto.xcodeproj/project.pbxproj +++ b/Ditto.xcodeproj/project.pbxproj @@ -158,7 +158,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 0800; - LastUpgradeCheck = 0800; + LastUpgradeCheck = 0820; ORGANIZATIONNAME = Kevin; TargetAttributes = { 7681250E1D7EF01100856E0C = { @@ -257,6 +257,7 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; @@ -310,6 +311,7 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_SUSPICIOUS_MOVES = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; diff --git a/Ditto.xcodeproj/xcshareddata/xcschemes/Ditto.xcscheme b/Ditto.xcodeproj/xcshareddata/xcschemes/Ditto.xcscheme index 0e74980..518fb3b 100644 --- a/Ditto.xcodeproj/xcshareddata/xcschemes/Ditto.xcscheme +++ b/Ditto.xcodeproj/xcshareddata/xcschemes/Ditto.xcscheme @@ -1,6 +1,6 @@ JSONValue? { } private func convertSequence(sequence: T) -> [Any] { - var convertedArray = [Any?]() + var convertedArray = [Any]() for element in sequence { if let element = convertAny(any: element) { convertedArray.append(element)