]> git.puffer.fish Git - mirror/frr.git/commitdiff
Remove unused dont_more variable in vty_flush and add return 0 to vtysh_write.
authorajs <ajs>
Wed, 10 Nov 2004 15:40:09 +0000 (15:40 +0000)
committerajs <ajs>
Wed, 10 Nov 2004 15:40:09 +0000 (15:40 +0000)
lib/vty.c

index 1ef552f23bafc5640f3f4ad180e4e3e3babc6f79..3e10a9473451eaa1b4d7b00dc3c3fbfbe1aab6e0 100644 (file)
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -1452,7 +1452,6 @@ static int
 vty_flush (struct thread *thread)
 {
   int erase;
-  int dont_more;
   int vty_sock = THREAD_FD (thread);
   struct vty *vty = THREAD_ARG (thread);
   vty->t_write = NULL;
@@ -1977,6 +1976,7 @@ vtysh_write (struct thread *thread)
   vty->t_write = NULL;
   if (buffer_flush_available(vty->obuf, vty->fd))
     vty_event (VTYSH_WRITE, vty->fd, vty);
+  return 0;
 }
 
 #endif /* VTYSH */