Fix warnings about unused variables and functions
This commit is contained in:
parent
e65bd6b7d7
commit
0629b25d5f
@ -1814,7 +1814,6 @@ xrdp_sec_process_mcs_data_channels(struct xrdp_sec *self, struct stream *s)
|
||||
{
|
||||
int num_channels;
|
||||
int index;
|
||||
struct mcs_channel_item *channel_item;
|
||||
struct xrdp_client_info *client_info = (struct xrdp_client_info *)NULL;
|
||||
|
||||
client_info = &(self->rdp_layer->client_info);
|
||||
|
@ -39,8 +39,6 @@
|
||||
|
||||
//#define USE_SYNC_FLAG
|
||||
|
||||
static char g_fuse_mount_name[256] = "xrdp_client";
|
||||
|
||||
/* FUSE mount point */
|
||||
char g_fuse_root_path[256] = "";
|
||||
char g_fuse_clipboard_path[256] = ""; /* for clipboard use */
|
||||
@ -239,6 +237,8 @@ struct opendir_req
|
||||
struct fuse_file_info *fi;
|
||||
};
|
||||
|
||||
static char g_fuse_mount_name[256] = "xrdp_client";
|
||||
|
||||
FIFO g_fifo_opendir;
|
||||
|
||||
static struct list *g_req_list = 0;
|
||||
|
@ -102,6 +102,7 @@ static int g_file_request_sent_type = 0;
|
||||
#define CB_EPOCH_DIFF 11644473600LL
|
||||
|
||||
/*****************************************************************************/
|
||||
#if 0
|
||||
static tui64 APP_CC
|
||||
timeval2wintime(struct timeval *tv)
|
||||
{
|
||||
@ -113,6 +114,7 @@ timeval2wintime(struct timeval *tv)
|
||||
result += tv->tv_usec * 10;
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
/* this will replace %20 or any hex with the space or correct char
|
||||
|
@ -103,6 +103,7 @@ static struct xr_wave_format_ex g_pcm_44100 =
|
||||
g_pcm_44100_data /* data */
|
||||
};
|
||||
|
||||
#if defined(XRDP_OPUS)
|
||||
static char g_opus_44100_data[] = { 0 };
|
||||
static struct xr_wave_format_ex g_opus_44100 =
|
||||
{
|
||||
@ -115,6 +116,7 @@ static struct xr_wave_format_ex g_opus_44100 =
|
||||
0, /* data size */
|
||||
g_opus_44100_data /* data */
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(XRDP_OPUS)
|
||||
|
@ -63,11 +63,13 @@ xcommon_error_handler(Display *dis, XErrorEvent *xer)
|
||||
/* The X server had an internal error. This is the last function called.
|
||||
Do any cleanup that needs to be done on exit, like removing temporary files.
|
||||
Don't worry about memory leaks */
|
||||
#if 0
|
||||
static int DEFAULT_CC
|
||||
xcommon_fatal_handler(Display *dis)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
/* returns time in milliseconds
|
||||
|
Loading…
Reference in New Issue
Block a user