From: Jon Steinhart Date: Tue, 16 Nov 2004 17:37:41 +0000 (+0000) Subject: Removed unnecessary code. X-Git-Tag: RELEASE_1_2~57 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=40d8dba250400b613688f3c2824ec81a0b76b168 Removed unnecessary code. --- diff --git a/sbr/folder_addmsg.c b/sbr/folder_addmsg.c index db2b42f..f03d386 100644 --- a/sbr/folder_addmsg.c +++ b/sbr/folder_addmsg.c @@ -25,7 +25,6 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected, int infd, outfd, linkerr, first_time, msgnum; char *nmsg, newmsg[BUFSIZ]; char oldmsg[BUFSIZ]; - struct msgs *op; struct msgs *mp; struct stat st1, st2; @@ -143,9 +142,7 @@ folder_addmsg (struct msgs **mpp, char *msgfile, int selected, if (link (msgfile, newmsg) != -1) { if (deleting) { - op = folder_read(getfolder(1)); (void)snprintf(oldmsg, sizeof (oldmsg), "%s/%s", pwd(), msgfile); - folder_free(op); (void)ext_hook("ref-hook", oldmsg, newmsg); } else