Browse Source

Remove useless assignment

Signed-off-by: Mario Danic <mario@lovelyhq.com>
Mario Danic 7 years ago
parent
commit
b4e8b85910

+ 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());