[Xcb] [PATCH libxcb 01/18] c_client.py: remove unneeded call to get_serialize_params()

Ran Benita ran234 at gmail.com
Sun Oct 12 11:58:03 PDT 2014


The results are not used, and the function doesn't have side effects.

Signed-off-by: Ran Benita <ran234 at gmail.com>
---
 src/c_client.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/c_client.py b/src/c_client.py
index 87f268b..51edda7 100644
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -739,7 +739,6 @@ def _c_serialize_helper_switch_field(context, self, field, c_switch_variable, pr
     handle switch by calling _serialize() or _unpack(), depending on context
     """
     # switch is handled by this function as a special case
-    param_fields, wire_fields, params = get_serialize_params(context, self)
     field_mapping = _c_helper_field_mapping(self, prefix)
     prefix_str = _c_helper_absolute_name(prefix)
 
-- 
2.1.2



More information about the Xcb mailing list