]> diplodocus.org Git - nmh/commitdiff
Remove spurious return statements after exit().
authorLyndon Nerenberg <lyndon@orthanc.ca>
Sun, 30 Jun 2013 23:58:23 +0000 (16:58 -0700)
committerLyndon Nerenberg <lyndon@orthanc.ca>
Sun, 30 Jun 2013 23:58:23 +0000 (16:58 -0700)
These are holdovers from a long forgotten era.

uip/rcvtty.c

index e9163ba7285c78f5f72b073cdd3edc8a9c45d440..6282d52233fdf54bd62be8ec153d0ce659cc3214 100644 (file)
@@ -167,7 +167,6 @@ main (int argc, char **argv)
 #endif /* HAVE_GETUTXENT */
 
     exit (RCV_MOK);
-    return 0;  /* dead code to satisfy the compiler */
 }
 
 
@@ -236,7 +235,6 @@ message_fd (char **vec)
     setpgid ((pid_t) 0, getpid ());    /* put in own process group */
     execvp (vec[0], vec);
     _exit (-1);
-    return 1;  /* dead code to satisfy compiler */
 }