diff options
-rw-r--r-- | pyGHDL/dom/_Translate.py | 2 | ||||
-rw-r--r-- | pyGHDL/lsp/lsp.py | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/pyGHDL/dom/_Translate.py b/pyGHDL/dom/_Translate.py index 8bdf221f3..10f24e241 100644 --- a/pyGHDL/dom/_Translate.py +++ b/pyGHDL/dom/_Translate.py @@ -502,7 +502,6 @@ def GetGenericsFromChainedNodes( def GetPortsFromChainedNodes( nodeChain: Iir, ) -> Generator[PortInterfaceItem, None, None]: - furtherIdentifiers = [] port = nodeChain while port != nodes.Null_Iir: @@ -544,7 +543,6 @@ def GetPortsFromChainedNodes( def GetParameterFromChainedNodes( nodeChain: Iir, ) -> Generator[ParameterInterfaceItem, None, None]: - identifiers = [] parameter = nodeChain while parameter != nodes.Null_Iir: diff --git a/pyGHDL/lsp/lsp.py b/pyGHDL/lsp/lsp.py index 32a64b3ea..f552a6234 100644 --- a/pyGHDL/lsp/lsp.py +++ b/pyGHDL/lsp/lsp.py @@ -59,7 +59,7 @@ def normalize_rpc_file_uris(rpc): # Fixes a crash on windows where the underlying ada crashes # if paths to the same file are given with inconsistent # capitalization. - for (key, val) in rpc.items(): + for key, val in rpc.items(): # recurse into all leaf elements. if isinstance(val, dict): normalize_rpc_file_uris(val) |