From 37ade1cb25817fee64b3c3e3970f7b3712742bba Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Mon, 1 Jul 2019 18:07:36 -0700 Subject: [PATCH] remove unused variable --- xrdp/xrdp_listen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xrdp/xrdp_listen.c b/xrdp/xrdp_listen.c index 9958d5b2..97b2eb6c 100644 --- a/xrdp/xrdp_listen.c +++ b/xrdp/xrdp_listen.c @@ -798,7 +798,6 @@ xrdp_listen_conn_in(struct trans *self, struct trans *new_self) int xrdp_listen_main_loop(struct xrdp_listen *self) { - int error; int robjs_count; int cont; int index; @@ -934,7 +933,7 @@ xrdp_listen_main_loop(struct xrdp_listen *self) } self->status = -1; - return error; + return 0; } /*****************************************************************************/