[Commits] [SCM] claws branch, master, updated. 3.17.0-41-gcec15ea

ticho at claws-mail.org ticho at claws-mail.org
Wed Sep 5 00:18:56 CEST 2018


The branch, master has been updated
       via  cec15eadf8b260030ee5cff9ef7f977dbbf867da (commit)
      from  2cce3ea35432ff8902b179912f49e455e460104c (commit)

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


- Log -----------------------------------------------------------------
commit cec15eadf8b260030ee5cff9ef7f977dbbf867da
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Wed Sep 5 00:17:59 2018 +0200

    Remove unused string copy from procmsg_msg_exist().

diff --git a/src/procmsg.c b/src/procmsg.c
index e484700..df05e9b 100644
--- a/src/procmsg.c
+++ b/src/procmsg.c
@@ -531,14 +531,11 @@ FILE *procmsg_open_message(MsgInfo *msginfo)
 
 gboolean procmsg_msg_exist(MsgInfo *msginfo)
 {
-	gchar *path;
 	gboolean ret;
 
 	if (!msginfo) return FALSE;
 
-	path = folder_item_get_path(msginfo->folder);
 	ret = !folder_item_is_msg_changed(msginfo->folder, msginfo);
-	g_free(path);
 
 	return ret;
 }

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


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list