[Commits] [SCM] claws branch, master, updated. 3.18.0-226-g54a6490bf

wwp at claws-mail.org wwp at claws-mail.org
Fri Oct 1 08:15:54 CEST 2021


The branch, master has been updated
       via  54a6490bf8b78b34de8b124261247e21875cf83a (commit)
      from  47c129334fb334d3eb43c558b69392ca61bc0163 (commit)

Summary of changes:
 src/common/template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


- Log -----------------------------------------------------------------
commit 54a6490bf8b78b34de8b124261247e21875cf83a
Author: wwp <subscript at free.fr>
Date:   Fri Oct 1 08:15:38 2021 +0200

    Fix CID 1492308: incorrect expression.

diff --git a/src/common/template.c b/src/common/template.c
index c11a8849f..c9180121b 100644
--- a/src/common/template.c
+++ b/src/common/template.c
@@ -177,7 +177,7 @@ GSList *template_read_config(void)
 	while ((dir_name = g_dir_read_name(dir)) != NULL) {
 		Template *tmpl;
 		GStatBuf s;
-		gchar *filename = filename = g_strconcat(path, G_DIR_SEPARATOR_S,
+		gchar *filename = g_strconcat(path, G_DIR_SEPARATOR_S,
 				       dir_name, NULL);
 
 		if (g_stat(filename, &s) != 0 || !S_ISREG(s.st_mode) ) {

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list