mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Fix compiler warnings
[originally from svn r1469]
This commit is contained in:
parent
46f2897cf6
commit
5f2c53790c
2
sshdss.c
2
sshdss.c
@ -355,8 +355,6 @@ static unsigned char *dss_private_blob(void *key, int *len)
|
||||
int xlen, bloblen;
|
||||
int i;
|
||||
unsigned char *blob, *p;
|
||||
SHA_State s;
|
||||
unsigned char digest[20];
|
||||
|
||||
xlen = (bignum_bitcount(dss->x) + 8) / 8;
|
||||
|
||||
|
4
window.c
4
window.c
@ -3803,13 +3803,11 @@ void write_clip(wchar_t * data, int len, int must_deselect)
|
||||
len * sizeof(wchar_t));
|
||||
clipdata2 = GlobalAlloc(GMEM_DDESHARE | GMEM_MOVEABLE, len2);
|
||||
|
||||
if (!clipdata || !clipdata2 || !clipdata3) {
|
||||
if (!clipdata || !clipdata2) {
|
||||
if (clipdata)
|
||||
GlobalFree(clipdata);
|
||||
if (clipdata2)
|
||||
GlobalFree(clipdata2);
|
||||
if (clipdata3)
|
||||
GlobalFree(clipdata3);
|
||||
return;
|
||||
}
|
||||
if (!(lock = GlobalLock(clipdata)))
|
||||
|
Loading…
Reference in New Issue
Block a user