Fix some picky compiler warnings kindly provided by Borland C++ 5.5
[u/mdw/putty] / ldisc.c
diff --git a/ldisc.c b/ldisc.c
index ca5625d..48879d8 100644 (file)
--- a/ldisc.c
+++ b/ldisc.c
@@ -11,7 +11,6 @@
 static void c_write (char *buf, int len) {
     while (len--) {
        int new_head = (inbuf_head + 1) & INBUF_MASK;
-       int c = (unsigned char) *buf;
        if (new_head != inbuf_reap) {
            inbuf[inbuf_head] = *buf++;
            inbuf_head = new_head;