summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv/chansrv.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-04-22 23:40:48 -0700
committerPavel Roskin <plroskin@gmail.com>2016-04-23 00:18:38 -0700
commit70f3d4c5e23ab53bf82bc5e2029001896bf3823e (patch)
treede922895b37cef884df737372669ac41241b2dcc /sesman/chansrv/chansrv.c
parent95e1603f9dda52a7846ad454082712ce9a7aa75e (diff)
downloadxrdp-proprietary-70f3d4c5e23ab53bf82bc5e2029001896bf3823e.tar.gz
xrdp-proprietary-70f3d4c5e23ab53bf82bc5e2029001896bf3823e.zip
Fix warnings for unused variables read from byte streams
Diffstat (limited to 'sesman/chansrv/chansrv.c')
-rw-r--r--sesman/chansrv/chansrv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c
index fad2841d..e3d2f5d2 100644
--- a/sesman/chansrv/chansrv.c
+++ b/sesman/chansrv/chansrv.c
@@ -756,7 +756,6 @@ int DEFAULT_CC
my_trans_data_in(struct trans *trans)
{
struct stream *s = (struct stream *)NULL;
- int id = 0;
int size = 0;
int error = 0;
@@ -772,7 +771,7 @@ my_trans_data_in(struct trans *trans)
LOGM((LOG_LEVEL_DEBUG, "my_trans_data_in:"));
s = trans_get_in_s(trans);
- in_uint32_le(s, id);
+ in_uint8s(s, 4); /* id */
in_uint32_le(s, size);
error = trans_force_read(trans, size - 8);