diff --git a/windows/window.c b/windows/window.c index 216c1704..fe16c949 100644 --- a/windows/window.c +++ b/windows/window.c @@ -4920,8 +4920,6 @@ static DWORD WINAPI clipboard_read_threadfunc(void *param) static int process_clipdata(HGLOBAL clipdata, int unicode) { - static wchar_t *converted = 0; - sfree(clipboard_contents); clipboard_contents = NULL; clipboard_length = 0; diff --git a/windows/winplink.c b/windows/winplink.c index 60232ffe..5f707316 100644 --- a/windows/winplink.c +++ b/windows/winplink.c @@ -305,7 +305,6 @@ int main(int argc, char **argv) * Override the default protocol if PLINK_PROTOCOL is set. */ char *p = getenv("PLINK_PROTOCOL"); - int i; if (p) { const Backend *b = backend_from_name(p); if (b) {