mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-14 01:27:35 -05:00
Having now compiled the last few days' changes with MSVC, it's turned
up a bunch of warnings, mostly unused variables. All fixed. [originally from svn r1058]
This commit is contained in:
@ -55,6 +55,12 @@ typedef DWORD (WINAPI *gsi_fn_t)
|
||||
static gsi_fn_t getsecurityinfo;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Exports from pageantc.c
|
||||
*/
|
||||
void agent_query(void *in, int inlen, void **out, int *outlen);
|
||||
int agent_exists(void);
|
||||
|
||||
/*
|
||||
* We need this to link with the RSA code, because rsaencrypt()
|
||||
* pads its data with random bytes. Since we only use rsadecrypt()
|
||||
@ -1220,7 +1226,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show) {
|
||||
* Find out if Pageant is already running.
|
||||
*/
|
||||
already_running = FALSE;
|
||||
if (FindWindow("Pageant", "Pageant"))
|
||||
if (agent_exists())
|
||||
already_running = TRUE;
|
||||
else {
|
||||
|
||||
|
Reference in New Issue
Block a user