[Spice-devel] [PATCH spice-vdagent] vdagentd: Handle VD_AGENT_CLIPBOARD_RELEASE
Victor Toso
victortoso at redhat.com
Thu Mar 23 12:00:03 UTC 2017
Hi,
On Thu, Mar 23, 2017 at 12:26:28PM +0100, Pavel Grunt wrote:
> In fact do nothing but avoid a runtime warning
> vdagent_message_clipboard_from_le: code should not be reached
>
> Regression since 99d9d3583143aef7143ec986cebe2980fdeeb776
I would say that this warning was introduced _hash_ or (previous commit)
but regression seems a bit excessive. Might just be me :)
Its up to you if you want to change it or not.
Acked-by: Victor Toso <victortoso at redhat.com>
> ---
> src/vdagentd/vdagentd.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/src/vdagentd/vdagentd.c b/src/vdagentd/vdagentd.c
> index 954bba1..aef5b96 100644
> --- a/src/vdagentd/vdagentd.c
> +++ b/src/vdagentd/vdagentd.c
> @@ -410,6 +410,8 @@ static void vdagent_message_clipboard_from_le(VDAgentMessage *message_header,
> case VD_AGENT_CLIPBOARD_GRAB:
> virtio_msg_uint32_from_le(data, message_header->size, min_size);
> break;
> + case VD_AGENT_CLIPBOARD_RELEASE:
> + break;
> default:
> g_warn_if_reached();
> }
> --
> 2.12.0
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170323/974292a7/attachment.sig>
More information about the Spice-devel
mailing list