commit d3e24af7f789675f234092e807c6f04adde67ee0
parent 0e0a6e17c558b565423e52bc38b45d95757f26f7
Author: wwp <subscript@free.fr>
Date: Fri, 1 Oct 2021 08:15:38 +0200
Fix CID 1492308: incorrect expression.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) ) {