summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-10-12 21:58:03 +0300
committerChristian Linhart <chris@demorecorder.com>2015-03-15 10:03:12 +0100
commit1b37d6ad3a37a9d0201e3b2caee6cd53b7b4b3dc (patch)
tree04ad9a0da0f0d920d8f94071e8fbfee700a8089c
parente3ec1f74637237ce500dfd0ca59f2e422da4e019 (diff)
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@gmail.com> Reviewed-by: Christian Linhart <chris@demorecorder.com>
-rw-r--r--src/c_client.py1
1 files changed, 0 insertions, 1 deletions
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)