[Commits] [SCM] claws branch, master, updated. 3.18.0-215-g395844e4f

wwp at claws-mail.org wwp at claws-mail.org
Thu Sep 30 11:52:11 CEST 2021


The branch, master has been updated
       via  395844e4f2ba98f828ba03abf842e70147797352 (commit)
      from  e73ec88c8c1c8b8b12359396f6475a2057b2aa41 (commit)

Summary of changes:
 src/password.c | 3 ---
 1 file changed, 3 deletions(-)


- Log -----------------------------------------------------------------
commit 395844e4f2ba98f828ba03abf842e70147797352
Author: wwp <subscript at free.fr>
Date:   Thu Sep 30 11:51:52 2021 +0200

    Fix CID 1491404: logically dead code.

diff --git a/src/password.c b/src/password.c
index 8105820f8..33e21b873 100644
--- a/src/password.c
+++ b/src/password.c
@@ -166,9 +166,6 @@ gboolean master_passphrase_is_correct(const gchar *input)
 	g_return_val_if_fail(stored_kd != NULL && strlen(stored_kd) > 0, FALSE);
 	g_return_val_if_fail(input != NULL, FALSE);
 
-	if (stored_kd == NULL)
-		return FALSE;
-
 	tokens = g_strsplit_set(stored_kd, "{}", 3);
 	if (tokens[0] == NULL ||
 			strlen(tokens[0]) != 0 || /* nothing before { */

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list