]> diplodocus.org Git - nmh/blobdiff - sbr/getfolder.c
Rearranged statements to eliminate memory allocation.
[nmh] / sbr / getfolder.c
index 6c6d26728d162e0907b4d2dbce4e1bcdab9e091e..15ee8a70589f5a6d1f2bbbad2b10b9ca83feec22 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * getfolder.c -- get the current or default folder
+/* getfolder.c -- get the current or default folder
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
@@ -13,7 +11,7 @@
 char *
 getfolder(int wantcurrent)
 {
-    register char *folder;
+    char *folder;
 
     /*
      * If wantcurrent == 1, then try the current folder first