1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-03 04:22:47 -05:00

Fix some picky compiler warnings kindly provided by Borland C++ 5.5

[originally from svn r396]
This commit is contained in:
Simon Tatham
2000-03-08 10:21:13 +00:00
parent 3ceb7127ba
commit 11821d4d27
6 changed files with 19 additions and 20 deletions

View File

@ -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;