[Spice-commits] server/cursor-channel-client.cpp

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 4 07:57:36 UTC 2021


 server/cursor-channel-client.cpp |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 0088659c374a9df5e8caeadb0f3108fe6d92743d
Author: Frediano Ziglio <freddy77 at gmail.com>
Date:   Wed Jun 2 09:06:26 2021 +0100

    cursor-channel-client: Remove unused variable
    
    Both _cursor_count and DEBUG_CURSORS are not used.
    
    Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

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);


More information about the Spice-commits mailing list