[spice-common 2/3] codegen: Remove unused write_message_marshaller argument

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

 



"is_server" is not used in this method
---
 python_modules/marshal.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/python_modules/marshal.py b/python_modules/marshal.py
index 1d38d3d..cc6cbdf 100644
--- a/python_modules/marshal.py
+++ b/python_modules/marshal.py
@@ -333,7 +333,7 @@ def write_container_marshaller(writer, container, src):
             writer.out_prefix = saved_out_prefix
             write_member_marshaller(writer, container, m, src, scope)
 
-def write_message_marshaller(writer, message, is_server, private):
+def write_message_marshaller(writer, message, private):
     if message.has_attr("ifdef"):
         writer.ifdef(message.attributes["ifdef"][0])
     writer.out_prefix = ""
@@ -385,7 +385,7 @@ def write_protocol_marshaller(writer, proto, is_server, private_marshallers):
             messages = channel.server_messages
         for m in messages:
             message = m.message_type
-            f = write_message_marshaller(writer, message, is_server, private_marshallers)
+            f = write_message_marshaller(writer, message, private_marshallers)
             if channel.has_attr("ifdef") and f not in functions:
                 functions[f] = channel.attributes["ifdef"][0]
             elif message.has_attr("ifdef") and f not in functions:
-- 
2.7.4

_______________________________________________
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]