summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicola Ruggero <nicola@nxnt.org>2010-11-04 16:22:33 +0100
committerNicola Ruggero <nicola@nxnt.org>2010-11-04 16:22:33 +0100
commit3ba752e7b76a27fdb9317915b9a57f9346a652ac (patch)
treeab11ab549b4c6a279a6102d505ac276900dca297
parent17bc1418ecce5bfef83c17a32c350abbd58cb92c (diff)
downloadxrdp-proprietary-3ba752e7b76a27fdb9317915b9a57f9346a652ac.tar.gz
xrdp-proprietary-3ba752e7b76a27fdb9317915b9a57f9346a652ac.zip
Removed dead code re-introduced erroneously in commit 4cf06dbbcb8522be5fa069976c8f361fc874039f
-rw-r--r--sesman/scp_v0.c1
-rw-r--r--sesman/session.c1
-rw-r--r--xrdp/xrdp_bitmap.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/sesman/scp_v0.c b/sesman/scp_v0.c
index c3c9def6..0b4dc791 100644
--- a/sesman/scp_v0.c
+++ b/sesman/scp_v0.c
@@ -93,7 +93,6 @@ scp_v0_process(struct SCP_CONNECTION* c, struct SCP_SESSION* s)
if (display == 0)
{
auth_end(data);
- data = 0;
scp_v0s_deny_connection(c);
}
else
diff --git a/sesman/session.c b/sesman/session.c
index ad221c85..a9cbc909 100644
--- a/sesman/session.c
+++ b/sesman/session.c
@@ -363,7 +363,6 @@ session_start_fork(int width, int height, int bpp, char* username,
g_free(temp);
return 0;
}
- wmpid = 0;
pid = g_fork();
if (pid == -1)
{
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c
index 5d03fcb2..4ed4a230 100644
--- a/xrdp/xrdp_bitmap.c
+++ b/xrdp/xrdp_bitmap.c
@@ -765,7 +765,6 @@ xrdp_bitmap_copy_box_with_crc(struct xrdp_bitmap* self,
{
return 1;
}
- crc = dest->crc;
CRC_START(crc);
if (self->bpp == 24)
{