diff options
| author | Peter LaFosse <peter@vector35.com> | 2022-01-20 15:42:34 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2022-01-24 14:32:16 -0500 |
| commit | e1bbb92b7e7b2e032271dc27d9cabc344dda72b2 (patch) | |
| tree | 0c2a056029583354f7e3260fb0732002d05b10df /python/types.py | |
| parent | 5b475466daad1ac6aab3a95f2fcf6837ad8ad710 (diff) | |
Remove unnecessary check in Type.function
Diffstat (limited to 'python/types.py')
| -rw-r--r-- | python/types.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/python/types.py b/python/types.py index ac5d75f8..3d48afc2 100644 --- a/python/types.py +++ b/python/types.py @@ -1768,8 +1768,6 @@ class Type: :param CallingConvention calling_convention: optional argument for the function calling convention :param bool variable_arguments: optional boolean, true if the function has a variable number of arguments """ - if params is None: - params = None return FunctionType.create(ret, params, calling_convention, variable_arguments, stack_adjust) @staticmethod |
