Skip to content

Commit b06aa32

Browse files
committed
Cleaning more warnings
1 parent 850a7a3 commit b06aa32

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TUSKit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ TODO: Add long description of the pod here.
3131
s.platform = :ios
3232
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
3333

34-
s.osx.deployment_target = '10.10'
34+
s.ios.deployment_target = '8.2'
3535

3636
s.source_files = 'TUSKit/Classes/**/*'
3737

TUSKit/Classes/TUSExecutor+get.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension TUSExecutor {
1212
var request = URLRequest(url: upload.uploadLocationURL!, cachePolicy: .reloadIgnoringLocalAndRemoteCacheData, timeoutInterval: 30)
1313
request.httpMethod = "GET"
1414
// TODO: Fix
15-
let task = TUSClient.shared.tusSession.session.downloadTask(with: request) { (url, response, error) in
15+
let _ = TUSClient.shared.tusSession.session.downloadTask(with: request) { (url, response, error) in
1616
TUSClient.shared.logger.log(forLevel: .Info, withMessage:response!.description)
1717
}
1818
}

0 commit comments

Comments
 (0)