From 1b37d6ad3a37a9d0201e3b2caee6cd53b7b4b3dc Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 12 Oct 2014 21:58:03 +0300 Subject: [PATCH] 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 Reviewed-by: Christian Linhart --- src/c_client.py | 1 - 1 file changed, 1 deletion(-) 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)