commit cec15eadf8b260030ee5cff9ef7f977dbbf867da
parent 2cce3ea35432ff8902b179912f49e455e460104c
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Wed, 5 Sep 2018 00:17:59 +0200
Remove unused string copy from procmsg_msg_exist().
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git 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;
}