From 41f4b1c1c38adf83af8c24188515985e1a1a20f7 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sat, 26 Dec 2009 21:29:37 +0000 Subject: [PATCH] remove some dead code --- libxrdp/libxrdp.c | 3 --- libxrdp/xrdp_channel.c | 1 - 2 files changed, 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);