From 7c959156a96f7eb17e2ab668b8b7ebc4830b73a6 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Fri, 27 Dec 2019 19:02:28 +0500 Subject: [PATCH] xrdpvr/xrdpvr.c: remove redundant condition [xrdpvr/xrdpvr.c:918] -> [xrdpvr/xrdpvr.c:926]: (warning) Identical condition 'rv==0', second condition is always false --- xrdpvr/xrdpvr.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xrdpvr/xrdpvr.c b/xrdpvr/xrdpvr.c index 980a10d4..805cdd88 100644 --- a/xrdpvr/xrdpvr.c +++ b/xrdpvr/xrdpvr.c @@ -923,11 +923,6 @@ xrdpvr_write_to_client(void *channel, STREAM *s) index += bytes_written; bytes_to_send -= bytes_written; - if ((rv == 0) && (bytes_to_send == 0)) - { - return 0; - } - usleep(1000 * 3); } }