sesrun: remove unused g_sck and write-only g_pid

master
Pavel Roskin 8 years ago
parent d605310bdc
commit 931fb90832

@ -27,8 +27,6 @@
#include "sesman.h" #include "sesman.h"
#include "tcp.h" #include "tcp.h"
int g_sck;
int g_pid;
struct config_sesman g_cfg; /* config.h */ struct config_sesman g_cfg; /* config.h */
/******************************************************************************/ /******************************************************************************/
@ -56,8 +54,6 @@ main(int argc, char **argv)
return 1; return 1;
} }
g_pid = g_getpid();
if (argc == 1) if (argc == 1)
{ {
g_printf("xrdp session starter v0.1\n"); g_printf("xrdp session starter v0.1\n");

Loading…
Cancel
Save