Removed void casts for ignored return values of function calls.
[mmh] / uip / install-mh.c
index 1fb6834..615ac71 100644 (file)
@@ -126,8 +126,7 @@ main(int argc, char **argv)
        }
 
        if (!autof && gans("Do you want help? ", anoyes)) {
-               (void)printf(
-                "\n"
+               printf("\n"
                 "Prior to using nmh, it is necessary to have a file in your login\n"
                 "directory (%s) named %s which contains information\n"
                 "to direct certain nmh operations.  The only item which is required\n"
@@ -201,7 +200,7 @@ query:
        ctxpath = getcpy(toabsdir(context = "context"));
 
        /* Initialize current folder to default */
-       context_replace(pfolder, defaultfolder);
+       context_replace(curfolder, defaultfolder);
        context_save();
 
        /*