Re: [PATCH spice-vdagent] vdagentd: Handle VD_AGENT_CLIPBOARD_RELEASE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>

> ---
>  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@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]