1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Jimen Ching's patches to remove compiler warnings

[originally from svn r183]
This commit is contained in:
Simon Tatham
1999-07-20 13:01:56 +00:00
parent 3774094e46
commit 4e889024e3
5 changed files with 4 additions and 11 deletions

View File

@ -171,7 +171,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;