compositor-rdp: Remove unneeded client->Close call
The client->Close call is unneeded as that is already implied by returning FALSE.
This commit is contained in:
committed by
Kristian Høgsberg
parent
39a443ff9b
commit
fdc3e4c3f4
@@ -681,7 +681,6 @@ xf_peer_post_connect(freerdp_peer* client)
|
|||||||
if (!settings->DesktopResize) {
|
if (!settings->DesktopResize) {
|
||||||
/* peer does not support desktop resize */
|
/* peer does not support desktop resize */
|
||||||
weston_log("%s: client doesn't support resizing, closing connection\n", __FUNCTION__);
|
weston_log("%s: client doesn't support resizing, closing connection\n", __FUNCTION__);
|
||||||
client->Close(client);
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
} else {
|
} else {
|
||||||
settings->DesktopWidth = output->base.width;
|
settings->DesktopWidth = output->base.width;
|
||||||
|
|||||||
Reference in New Issue
Block a user