소스 검색

* changed append_entry from a function in a procedure since its result
isn't set nor used anywhere

git-svn-id: trunk@2757 -

Jonas Maebe 19 년 전
부모
커밋
6db9f7c3b7
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      compiler/dbgdwarf.pas

+ 2 - 2
compiler/dbgdwarf.pas

@@ -203,7 +203,7 @@ interface
         filerecdef,
         textrecdef : tdef;
 
-        function append_entry(tag : tdwarf_tag;has_children : boolean;data : array of const) : longint;
+        procedure append_entry(tag : tdwarf_tag;has_children : boolean;data : array of const);
         procedure append_labelentry(attr : tdwarf_attribute;sym : tasmsymbol);
         procedure append_labelentry_ref(attr : tdwarf_attribute;sym : tasmsymbol);
         procedure append_labelentry_data(attr : tdwarf_attribute;sym : tasmsymbol);
@@ -453,7 +453,7 @@ implementation
 
     { writing the data through a few simply procedures allows to create easily extra information
       for debugging of debug info }
-    function TDebugInfoDwarf.append_entry(tag : tdwarf_tag;has_children : boolean;data : array of const) : longint;
+    procedure TDebugInfoDwarf.append_entry(tag : tdwarf_tag;has_children : boolean;data : array of const);
       var
         i : longint;
       begin