remove useless braces
@@ -476,8 +476,6 @@ xrdp_listen_main_loop(struct xrdp_listen *self)
robjs[robjs_count++] = done_obj;
timeout = -1;
- /* if (self->listen_trans != 0) */
- {
if (trans_get_wait_objs(self->listen_trans, robjs,
&robjs_count) != 0)
{
@@ -485,7 +483,6 @@ xrdp_listen_main_loop(struct xrdp_listen *self)
"terminating listener");
break;
}
- }
/* wait - timeout -1 means wait indefinitely*/
if (g_obj_wait(robjs, robjs_count, 0, 0, timeout) != 0)
