aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/utils.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-22 19:04:55 +0200
committerGitHub <noreply@github.com>2021-06-22 19:04:55 +0200
commit983236ac3dfd0c455a0ac910a9a468ea2c81e5d9 (patch)
tree2cc031d1ee5e38edc4897691a3d7029b7125c4aa /pyGHDL/libghdl/utils.py
parentbcd26f428e704eef5ef665bea7448f3990b5e010 (diff)
parent79d7e4f88b5ea170386628e3d2d00a1bd9634154 (diff)
downloadghdl-983236ac3dfd0c455a0ac910a9a468ea2c81e5d9.tar.gz
ghdl-983236ac3dfd0c455a0ac910a9a468ea2c81e5d9.tar.bz2
ghdl-983236ac3dfd0c455a0ac910a9a468ea2c81e5d9.zip
Fix Codacy issues
Diffstat (limited to 'pyGHDL/libghdl/utils.py')
-rw-r--r--pyGHDL/libghdl/utils.py1
1 files changed, 0 insertions, 1 deletions
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: