eliminate unecessary return
authorKen Arnold <arnold@ucbvax.Berkeley.EDU>
Fri, 6 Mar 1981 11:12:42 +0000 (03:12 -0800)
committerKen Arnold <arnold@ucbvax.Berkeley.EDU>
Fri, 6 Mar 1981 11:12:42 +0000 (03:12 -0800)
SCCS-vsn: lib/libcurses/clrtoeol.c 1.2

usr/src/lib/libcurses/clrtoeol.c

index 9110460..5d22d43 100644 (file)
@@ -3,7 +3,7 @@
 /*
  *     This routine clears up to the end of line
  *
 /*
  *     This routine clears up to the end of line
  *
- * %G% (Berkeley) @(#)clrtoeol.c       1.1
+ * %G% (Berkeley) @(#)clrtoeol.c       1.2
  */
 wclrtoeol(win)
 reg WINDOW     *win; {
  */
 wclrtoeol(win)
 reg WINDOW     *win; {
@@ -37,6 +37,4 @@ reg WINDOW    *win; {
                if (win->_lastch[y] < maxx - win->_y[y])
                        win->_lastch[y] = maxx - win->_y[y];
        }
                if (win->_lastch[y] < maxx - win->_y[y])
                        win->_lastch[y] = maxx - win->_y[y];
        }
-
-       return OK;
 }
 }