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

5
ssh.c
View File

@ -76,7 +76,6 @@ static int s_read (char *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;
@ -101,10 +100,8 @@ static void ssh_size(void);
static void ssh_gotdata(unsigned char *data, int datalen) {
static long len, biglen, to_read;
static unsigned char c, *p;
static unsigned char *p;
static int i, pad;
static char padding[8];
static unsigned char word[4];
crBegin;
while (1) {