From 40d8dba250400b613688f3c2824ec81a0b76b168 Mon Sep 17 00:00:00 2001 From: Jon Steinhart Date: Tue, 16 Nov 2004 17:37:41 +0000 Subject: [PATCH] Removed unnecessary code. --- sbr/folder_addmsg.c | 3 --- 1 file changed, 3 deletions(-) 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 -- 1.7.10.4