remove some dead code
This commit is contained in:
parent
bb4a15b5dc
commit
41f4b1c1c3
@ -173,7 +173,6 @@ int EXPORT_CC
|
|||||||
libxrdp_send_bitmap(struct xrdp_session* session, int width, int height,
|
libxrdp_send_bitmap(struct xrdp_session* session, int width, int height,
|
||||||
int bpp, char* data, int x, int y, int cx, int cy)
|
int bpp, char* data, int x, int y, int cx, int cy)
|
||||||
{
|
{
|
||||||
int data_size;
|
|
||||||
int line_size;
|
int line_size;
|
||||||
int i;
|
int i;
|
||||||
int j;
|
int j;
|
||||||
@ -291,8 +290,6 @@ libxrdp_send_bitmap(struct xrdp_session* session, int width, int height,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
lines_sending = 0;
|
|
||||||
data_size = width * height * Bpp;
|
|
||||||
total_lines = height;
|
total_lines = height;
|
||||||
i = 0;
|
i = 0;
|
||||||
p = data;
|
p = data;
|
||||||
|
@ -170,7 +170,6 @@ xrdp_channel_process(struct xrdp_channel* self, struct stream* s,
|
|||||||
g_writeln("xrdp_channel_process, channel not found");
|
g_writeln("xrdp_channel_process, channel not found");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
rv = 0;
|
|
||||||
in_uint32_le(s, length);
|
in_uint32_le(s, length);
|
||||||
in_uint32_le(s, flags);
|
in_uint32_le(s, flags);
|
||||||
rv = xrdp_channel_call_callback(self, s, channel_id, length, flags);
|
rv = xrdp_channel_call_callback(self, s, channel_id, length, flags);
|
||||||
|
Loading…
Reference in New Issue
Block a user