فهرست منبع

remove warning

Marino Faggiana 7 سال پیش
والد
کامیت
8d46db48d2
4فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 2 2
      iOSClient/Database/NCManageDatabase.swift
  2. 2 2
      iOSClient/Favorites/CCFavorites.m
  3. 2 2
      iOSClient/Main/CCDetail.m
  4. 2 2
      iOSClient/Shares/NCShares.m

+ 2 - 2
iOSClient/Database/NCManageDatabase.swift

@@ -614,8 +614,8 @@ class NCManageDatabase: NSObject {
         
         let versionServer = capabilities.versionString
         
-        var v1 = versionServer.characters.split(separator:".").map { Int(String($0)) }
-        var v2 = versionCompare.characters.split(separator:".").map { Int(String($0)) }
+        var v1 = versionServer.split(separator:".").map { Int(String($0)) }
+        var v2 = versionCompare.split(separator:".").map { Int(String($0)) }
         
         var result = 0
         for i in 0..<max(v1.count,v2.count) {

+ 2 - 2
iOSClient/Favorites/CCFavorites.m

@@ -119,8 +119,8 @@
 
 - (void)triggerProgressTask:(NSNotification *)notification
 {
-    NSDictionary *dict = notification.userInfo;
-    float progress = [[dict valueForKey:@"progress"] floatValue];
+    //NSDictionary *dict = notification.userInfo;
+    //float progress = [[dict valueForKey:@"progress"] floatValue];
 }
 
 #pragma --------------------------------------------------------------------------------------------

+ 2 - 2
iOSClient/Main/CCDetail.m

@@ -698,8 +698,8 @@
 
 - (void)triggerProgressTask:(NSNotification *)notification
 {
-    NSDictionary *dict = notification.userInfo;
-    float progress = [[dict valueForKey:@"progress"] floatValue];
+    //NSDictionary *dict = notification.userInfo;
+    //float progress = [[dict valueForKey:@"progress"] floatValue];
 }
 
 - (void)downloadPhotoBrowserFailure:(NSInteger)errorCode

+ 2 - 2
iOSClient/Shares/NCShares.m

@@ -101,8 +101,8 @@
 
 - (void)triggerProgressTask:(NSNotification *)notification
 {
-    NSDictionary *dict = notification.userInfo;
-    float progress = [[dict valueForKey:@"progress"] floatValue];
+    //NSDictionary *dict = notification.userInfo;
+    //float progress = [[dict valueForKey:@"progress"] floatValue];
 }
 
 #pragma --------------------------------------------------------------------------------------------