[Xcb-commit] libxcb: src

Christian Linhart clinhart at kemper.freedesktop.org
Sun Mar 15 02:06:27 PDT 2015


 src/c_client.py |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 1b37d6ad3a37a9d0201e3b2caee6cd53b7b4b3dc
Author: Ran Benita <ran234 at gmail.com>
Date:   Sun Oct 12 21:58:03 2014 +0300

    c_client.py: remove unneeded call to get_serialize_params()
    
    The results are not used, and the function doesn't have side effects.
    
    Signed-off-by: Ran Benita <ran234 at gmail.com>
    Reviewed-by: Christian Linhart <chris at demorecorder.com>

diff --git a/src/c_client.py b/src/c_client.py
index 8a2900c..2042ce0 100644
--- a/src/c_client.py
+++ b/src/c_client.py
@@ -918,7 +918,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_fieldaccess_expr(prefix)
 


More information about the xcb-commit mailing list