Skip to content

Commit

Permalink
Fixed warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-lyn committed Jan 2, 2017
1 parent 1e23570 commit 2551502
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Ditto.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 0800;
LastUpgradeCheck = 0800;
LastUpgradeCheck = 0820;
ORGANIZATIONNAME = Kevin;
TargetAttributes = {
7681250E1D7EF01100856E0C = {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion Ditto.xcodeproj/xcshareddata/xcschemes/Ditto.xcscheme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0800"
LastUpgradeVersion = "0820"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down
2 changes: 1 addition & 1 deletion Ditto/ConvertibleTypes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private func convertAny(any: Any) -> JSONValue? {
}

private func convertSequence<T: Sequence>(sequence: T) -> [Any] {
var convertedArray = [Any?]()
var convertedArray = [Any]()
for element in sequence {
if let element = convertAny(any: element) {
convertedArray.append(element)
Expand Down

0 comments on commit 2551502

Please sign in to comment.