remove useless variable - st - Personal fork of st
 (HTM) git clone git://git.drkhsh.at/st.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit afc73c920df958dabaf1e8e544be47cbe9c919ce
 (DIR) parent b3902ca1782515ee8b9cd38af10e51bc3ba2fc98
 (HTM) Author: Matthias-Christian Ott <ott@enolink.de>
       Date:   Sat,  5 Jul 2008 13:29:21 +0200
       
       remove useless variable
       
       Diffstat:
         M std.c                               |       4 +---
       
       1 file changed, 1 insertion(+), 3 deletions(-)
       ---
 (DIR) diff --git a/std.c b/std.c
       @@ -264,7 +264,6 @@ ungetch(int c) {
        int
        main(int argc, char *argv[]) {
                fd_set rfds;
       -        int r;
        
                if(argc == 2 && !strcmp("-v", argv[1])) {
                        fprintf(stderr, "std-"VERSION", © 2008 Matthias-Christian Ott\n");
       @@ -280,8 +279,7 @@ main(int argc, char *argv[]) {
                FD_SET(STDIN_FILENO, &rfds);
                FD_SET(ptm, &rfds);
                for(;;) {
       -                r = select(ptm + 1, &rfds, NULL, NULL, NULL);
       -                if(r == -1)
       +                if(select(ptm + 1, &rfds, NULL, NULL, NULL) == -1)
                                err(EXIT_FAILURE, "cannot select");
                        if(FD_ISSET(ptm, &rfds)) {
                                do {