From 51e9764f04da876993a80f6f09910e019eb84446 Mon Sep 17 00:00:00 2001 From: umarcor Date: Tue, 22 Jun 2021 12:26:43 +0200 Subject: fix issues reported by Codacy --- pyGHDL/libghdl/utils.py | 1 - 1 file changed, 1 deletion(-) (limited to 'pyGHDL/libghdl/utils.py') diff --git a/pyGHDL/libghdl/utils.py b/pyGHDL/libghdl/utils.py index e964f3ce3..98e350e03 100644 --- a/pyGHDL/libghdl/utils.py +++ b/pyGHDL/libghdl/utils.py @@ -206,7 +206,6 @@ def declarations_iter(n) -> Generator[Any, None, None]: yield n1 # Handle nested declarations: record elements, physical units, # enumeration literals... - typ = nodes.Get_Type_Definition(n1) for n2 in declarations_iter(n1): yield n2 else: -- cgit v1.2.3