Simplification: Removed unnecessary variable
authormarkus schnalke <meillo@marmaro.de>
Sun, 20 Nov 2011 20:13:07 +0000 (21:13 +0100)
committermarkus schnalke <meillo@marmaro.de>
Sun, 20 Nov 2011 20:13:07 +0000 (21:13 +0100)
sbr/m_draft.c

index 4d1feff..df767ef 100644 (file)
 char *
 m_draft(char *which)
 {
-       register char *cp;
        register struct msgs *mp;
        static char buffer[BUFSIZ];
        char *folder;
 
-       cp = draftfolder;
-       folder = pluspath(cp);
+       folder = pluspath(draftfolder);
 
        chdir(m_maildir(""));
        strncpy(buffer, m_maildir(folder), sizeof(buffer));