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

Submitted by Ran Benita on Oct. 12, 2014, 6:58 p.m.

Details

Message ID 1413140300-20075-2-git-send-email-ran234@gmail.com
State Accepted
Headers show

Not browsing as part of any series.

Commit Message

Ran Benita Oct. 12, 2014, 6:58 p.m.
The results are not used, and the function doesn't have side effects.

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

Patch hide | download patch | download mbox

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)