summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-12-26 21:29:37 +0000
committerjsorg71 <jsorg71>2009-12-26 21:29:37 +0000
commit41f4b1c1c38adf83af8c24188515985e1a1a20f7 (patch)
treecd2b80084f4e4aa8346d9125b3bc1c0f67401592
parentbb4a15b5dcaf8668687d0b62d6b50985561c4155 (diff)
downloadxrdp-proprietary-41f4b1c1c38adf83af8c24188515985e1a1a20f7.tar.gz
xrdp-proprietary-41f4b1c1c38adf83af8c24188515985e1a1a20f7.zip
remove some dead code
-rw-r--r--libxrdp/libxrdp.c3
-rw-r--r--libxrdp/xrdp_channel.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/libxrdp/libxrdp.c b/libxrdp/libxrdp.c
index 79c3106a..23689db5 100644
--- a/libxrdp/libxrdp.c
+++ b/libxrdp/libxrdp.c
@@ -173,7 +173,6 @@ int EXPORT_CC
libxrdp_send_bitmap(struct xrdp_session* session, int width, int height,
int bpp, char* data, int x, int y, int cx, int cy)
{
- int data_size;
int line_size;
int i;
int j;
@@ -291,8 +290,6 @@ libxrdp_send_bitmap(struct xrdp_session* session, int width, int height,
}
else
{
- lines_sending = 0;
- data_size = width * height * Bpp;
total_lines = height;
i = 0;
p = data;
diff --git a/libxrdp/xrdp_channel.c b/libxrdp/xrdp_channel.c
index 4af32433..b06d58e3 100644
--- a/libxrdp/xrdp_channel.c
+++ b/libxrdp/xrdp_channel.c
@@ -170,7 +170,6 @@ xrdp_channel_process(struct xrdp_channel* self, struct stream* s,
g_writeln("xrdp_channel_process, channel not found");
return 1;
}
- rv = 0;
in_uint32_le(s, length);
in_uint32_le(s, flags);
rv = xrdp_channel_call_callback(self, s, channel_id, length, flags);