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:
5
ssh.c
5
ssh.c
@ -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) {
|
||||
|
Reference in New Issue
Block a user