mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05:00
Remove two useless declarations.
One quite recent - an unused variable in the Windows code that was obsoleted by commit cea1329b9 last month - and one not recent at all, namely the obsolete declaration of begin_session() in putty.h that hasn't existed since commit 7a79df8fe replaced it with the ldisc system in *2001*!
This commit is contained in:
parent
ad0c502cef
commit
e053ea9a2e
1
putty.h
1
putty.h
@ -728,7 +728,6 @@ void modalfatalbox(const char *, ...);
|
|||||||
#pragma noreturn(modalfatalbox)
|
#pragma noreturn(modalfatalbox)
|
||||||
#endif
|
#endif
|
||||||
void do_beep(Frontend *frontend, int);
|
void do_beep(Frontend *frontend, int);
|
||||||
void begin_session(Frontend *frontend);
|
|
||||||
void sys_cursor(Frontend *frontend, int x, int y);
|
void sys_cursor(Frontend *frontend, int x, int y);
|
||||||
void frontend_request_paste(Frontend *frontend, int clipboard);
|
void frontend_request_paste(Frontend *frontend, int clipboard);
|
||||||
void frontend_keypress(Frontend *frontend);
|
void frontend_keypress(Frontend *frontend);
|
||||||
|
@ -23,7 +23,6 @@ Socket *new_named_pipe_client(const char *pipename, Plug *plug)
|
|||||||
HANDLE pipehandle;
|
HANDLE pipehandle;
|
||||||
PSID usersid, pipeowner;
|
PSID usersid, pipeowner;
|
||||||
PSECURITY_DESCRIPTOR psd;
|
PSECURITY_DESCRIPTOR psd;
|
||||||
Socket *ret;
|
|
||||||
|
|
||||||
assert(strncmp(pipename, "\\\\.\\pipe\\", 9) == 0);
|
assert(strncmp(pipename, "\\\\.\\pipe\\", 9) == 0);
|
||||||
assert(strchr(pipename + 9, '\\') == NULL);
|
assert(strchr(pipename + 9, '\\') == NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user