GUACAMOLE-424: Remove check against NULL for display cursor
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/e139b20d Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/e139b20d Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/e139b20d Branch: refs/heads/master Commit: e139b20d12f7dccf06b08494e1154735b2f12510 Parents: f7990af Author: itsankoff <ivaylotsanko...@gmail.com> Authored: Mon Nov 13 14:51:31 2017 +0200 Committer: itsankoff <ivaylotsanko...@gmail.com> Committed: Mon Nov 13 14:51:31 2017 +0200 ---------------------------------------------------------------------- src/protocols/vnc/user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/e139b20d/src/protocols/vnc/user.c ---------------------------------------------------------------------- diff --git a/src/protocols/vnc/user.c b/src/protocols/vnc/user.c index ea09eb0..da3b843 100644 --- a/src/protocols/vnc/user.c +++ b/src/protocols/vnc/user.c @@ -112,7 +112,7 @@ int guac_vnc_user_leave_handler(guac_user* user) { guac_vnc_client* vnc_client = (guac_vnc_client*) user->client->data; - if (vnc_client->display && vnc_client->display->cursor) { + if (vnc_client->display) { /* Update shared cursor state */ guac_common_cursor_remove_user(vnc_client->display->cursor, user); }