فهرست منبع

Remove useless assignment

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 سال پیش
والد
کامیت
b4e8b85910
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      src/main/java/com/owncloud/android/operations/UploadFileOperation.java

+ 0 - 1
src/main/java/com/owncloud/android/operations/UploadFileOperation.java

@@ -752,7 +752,6 @@ public class UploadFileOperation extends SyncOperation {
             return remoteOperationResult;
         }
 
-        JobRequest.NetworkType type = Device.getNetworkType(mContext);
         // check that connectivity conditions are met and delays the upload otherwise
         if (mOnWifiOnly && !Device.getNetworkType(mContext).equals(JobRequest.NetworkType.UNMETERED)) {
             Log_OC.d(TAG, "Upload delayed until WiFi is available: " + getRemotePath());