aboutsummaryrefslogtreecommitdiffstats
path: root/pyGHDL/libghdl/errorout_memory.py
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-06-26 18:47:45 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2021-07-01 06:39:46 +0200
commit06e53f991bee84c881cbea64bb9f7067d9d033fc (patch)
tree7ccf710a07be4325aa9ec8351310149696178a01 /pyGHDL/libghdl/errorout_memory.py
parent2492b5595c7a61e29096a217e46f9dfe2e0fd6ac (diff)
downloadghdl-06e53f991bee84c881cbea64bb9f7067d9d033fc.tar.gz
ghdl-06e53f991bee84c881cbea64bb9f7067d9d033fc.tar.bz2
ghdl-06e53f991bee84c881cbea64bb9f7067d9d033fc.zip
Fix Codacy problems.
Diffstat (limited to 'pyGHDL/libghdl/errorout_memory.py')
-rw-r--r--pyGHDL/libghdl/errorout_memory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pyGHDL/libghdl/errorout_memory.py b/pyGHDL/libghdl/errorout_memory.py
index c6577540d..3f85a03c9 100644
--- a/pyGHDL/libghdl/errorout_memory.py
+++ b/pyGHDL/libghdl/errorout_memory.py
@@ -94,6 +94,7 @@ def Get_Nbr_Messages() -> ErrorIndex:
:return: Number of messages available.
"""
+ return 0
@export
@@ -110,7 +111,7 @@ def Get_Error_Record(Idx: ErrorIndex) -> Error_Message:
# @export
@BindToLibGHDL("errorout__memory__get_error_message_addr")
def _Get_Error_Message(Idx: ErrorIndex) -> c_char_p:
- pass
+ return ""
@export