From: Frediano Ziglio <fziglio@xxxxxxxxxx> Make the call more similar to other marshall function calls in the same function. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/main-channel-client.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/main-channel-client.c b/server/main-channel-client.c index ea09976..f6b5d12 100644 --- a/server/main-channel-client.c +++ b/server/main-channel-client.c @@ -850,12 +850,9 @@ void main_channel_client_send_item(RedChannelClient *rcc, RedPipeItem *base) SPICE_CONTAINEROF(base, RedPingPipeItem, base)); break; case RED_PIPE_ITEM_TYPE_MAIN_MOUSE_MODE: - { - RedMouseModePipeItem *item = - SPICE_CONTAINEROF(base, RedMouseModePipeItem, base); - main_channel_marshall_mouse_mode(rcc, m, item); - break; - } + main_channel_marshall_mouse_mode(rcc, m, + SPICE_CONTAINEROF(base, RedMouseModePipeItem, base)); + break; case RED_PIPE_ITEM_TYPE_MAIN_AGENT_DISCONNECTED: main_channel_marshall_agent_disconnected(rcc, m, base); break; -- 2.4.11 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel