1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-13 09:07:33 -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

1
raw.c
View File

@ -52,7 +52,6 @@ static void s_write (void *buf, int len) {
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;