summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <freddy77@gmail.com>2021-06-02 09:06:26 +0100
committerFrediano Ziglio <freddy77@gmail.com>2021-06-04 08:56:44 +0100
commit0088659c374a9df5e8caeadb0f3108fe6d92743d (patch)
treef3cba9d3a3f4043a0d942509d5bf4b8f1564f72f
parent71284c4984d2a128de62d277ee5f55fb2708b99c (diff)
cursor-channel-client: Remove unused variable
Both _cursor_count and DEBUG_CURSORS are not used. Signed-off-by: Frediano Ziglio <freddy77@gmail.com> Acked-by: Victor Toso <victortoso@redhat.com>
-rw-r--r--server/cursor-channel-client.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/server/cursor-channel-client.cpp b/server/cursor-channel-client.cpp
index bd905843..1f86dd5f 100644
--- a/server/cursor-channel-client.cpp
+++ b/server/cursor-channel-client.cpp
@@ -46,10 +46,6 @@ struct CursorChannelClientPrivate
#include "cache-item.tmpl.cpp"
#undef CLIENT_CURSOR_CACHE
-#ifdef DEBUG_CURSORS
-static int _cursor_count = 0;
-#endif
-
void CursorChannelClient::reset_cursor_cache()
{
red_cursor_cache_reset(this, CLIENT_CURSOR_CACHE_SIZE);