[Commits] [SCM] claws branch, gtk3, updated. 4.0.0-273-g292bd6285
wwp at claws-mail.org
wwp at claws-mail.org
Thu Sep 30 11:52:14 CEST 2021
The branch, gtk3 has been updated
via 292bd62855074f5b21f671fe1958c71e75e1a2bd (commit)
from 2c9090652293247cbe8b9e4fe163c5582dab51ac (commit)
Summary of changes:
src/password.c | 3 ---
1 file changed, 3 deletions(-)
- Log -----------------------------------------------------------------
commit 292bd62855074f5b21f671fe1958c71e75e1a2bd
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 1f61daf54..3e514b047 100644
--- a/src/password.c
+++ b/src/password.c
@@ -166,9 +166,6 @@ gboolean primary_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