From fdc3e4c3f4a7e1bd3e6e5bc1f52d3062d941031f Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 4 Apr 2014 12:22:41 -0500 Subject: [PATCH] compositor-rdp: Remove unneeded client->Close call The client->Close call is unneeded as that is already implied by returning FALSE. --- src/compositor-rdp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c index fc7dfb2..aecc0a8 100644 --- a/src/compositor-rdp.c +++ b/src/compositor-rdp.c @@ -681,7 +681,6 @@ xf_peer_post_connect(freerdp_peer* client) if (!settings->DesktopResize) { /* peer does not support desktop resize */ weston_log("%s: client doesn't support resizing, closing connection\n", __FUNCTION__); - client->Close(client); return FALSE; } else { settings->DesktopWidth = output->base.width; -- 2.7.4