[Spice-devel] [PATCH spice-vdagent] vdagentd: Handle VD_AGENT_CLIPBOARD_RELEASE

Pavel Grunt pgrunt at redhat.com
Thu Mar 23 11:26:28 UTC 2017


In fact do nothing but avoid a runtime warning
 vdagent_message_clipboard_from_le: code should not be reached

Regression since 99d9d3583143aef7143ec986cebe2980fdeeb776
---
 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



More information about the Spice-devel mailing list