From 57775918c012e9c3d4860068a0062ffeaa8d3002 Mon Sep 17 00:00:00 2001 From: Daniel Ziegenberg Date: Tue, 9 Jun 2020 17:34:20 +0200 Subject: [PATCH] Variable 'encryptionKey' initializer 'null' is redundant Signed-off-by: Daniel Ziegenberg --- .../andotp/Receivers/EncryptedBackupBroadcastReceiver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/shadowice/flocke/andotp/Receivers/EncryptedBackupBroadcastReceiver.java b/app/src/main/java/org/shadowice/flocke/andotp/Receivers/EncryptedBackupBroadcastReceiver.java index 36fb8ff3..c5552833 100644 --- a/app/src/main/java/org/shadowice/flocke/andotp/Receivers/EncryptedBackupBroadcastReceiver.java +++ b/app/src/main/java/org/shadowice/flocke/andotp/Receivers/EncryptedBackupBroadcastReceiver.java @@ -62,7 +62,7 @@ public class EncryptedBackupBroadcastReceiver extends BackupBroadcastReceiver { return; } - SecretKey encryptionKey = null; + SecretKey encryptionKey; if (settings.getEncryption() == Constants.EncryptionType.KEYSTORE) { encryptionKey = KeyStoreHelper.loadEncryptionKeyFromKeyStore(context, false);