More optimizations
[apps/madtty.git] / demo / boxshell.c
index dbb47e4..b3c8f2d 100644 (file)
@@ -27,8 +27,6 @@ int main(void)
 {
     struct timeval next = { 0, 0 };
     madtty_t *rt;
-    int pos = 0;
-    char buf[BUFSIZ];
 
     signal(SIGCHLD, sigchld);
 
@@ -47,7 +45,6 @@ int main(void)
 
     /* keep reading keypresses from the user and passing them to the terminal;
      * also, redraw the terminal to the window at each iteration */
-    pos = 0;
     while (!getout) {
         fd_set rfds;
         struct timeval tv = { 0 , 1000 }, t;