[Spice-commits] server/cursor-channel.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Mar 3 07:29:17 UTC 2020


 server/cursor-channel.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 673fbd7147076befe1ab96e86965c23f871a59be
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Tue Mar 3 05:26:23 2020 +0000

    cursor-channel: Remove unused pipe_item argument from red_marshall_cursor_init
    
    Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
    Acked-by: Victor Toso <victortoso at redhat.com>

diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 138a0bd6..baa20539 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -114,8 +114,7 @@ static void cursor_fill(CursorChannelClient *ccc, RedCursorPipeItem *cursor,
     }
 }
 
-static void red_marshall_cursor_init(CursorChannelClient *ccc, SpiceMarshaller *base_marshaller,
-                                     RedPipeItem *pipe_item)
+static void red_marshall_cursor_init(CursorChannelClient *ccc, SpiceMarshaller *base_marshaller)
 {
     spice_assert(ccc);
 
@@ -212,7 +211,7 @@ static void cursor_channel_send_item(RedChannelClient *rcc, RedPipeItem *pipe_it
         break;
     case RED_PIPE_ITEM_TYPE_CURSOR_INIT:
         cursor_channel_client_reset_cursor_cache(rcc);
-        red_marshall_cursor_init(ccc, m, pipe_item);
+        red_marshall_cursor_init(ccc, m);
         break;
     case RED_PIPE_ITEM_TYPE_INVAL_CURSOR_CACHE:
         cursor_channel_client_reset_cursor_cache(rcc);


More information about the Spice-commits mailing list