diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2014-07-28 18:16:29 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2014-07-28 18:16:29 -0700 |
commit | 162becfe552af9457fc844aacd33cc12b0186429 (patch) | |
tree | c3208b0d88d613f1e8e372b8a243c2c96300a430 /sesman/chansrv/chansrv.c | |
parent | d7f0b174dafbe00bdbc54de6c4bfc4f045f3e4cc (diff) | |
download | xrdp-proprietary-162becfe552af9457fc844aacd33cc12b0186429.tar.gz xrdp-proprietary-162becfe552af9457fc844aacd33cc12b0186429.zip |
coverity: fixed unsigned compare against 0
Diffstat (limited to 'sesman/chansrv/chansrv.c')
-rw-r--r-- | sesman/chansrv/chansrv.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index 6aa5c8e8..f68d2e4e 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -1600,11 +1600,6 @@ remove_struct_with_chan_id(tui32 dvc_chan_id) { int i; - if (dvc_chan_id < 0) - { - return -1; - } - for (i = 0; i < MAX_DVC_CHANNELS; i++) { if (g_dvc_channels[i]->dvc_chan_id == dvc_chan_id) |