소스 검색

* fix compilation with 3.0.x and -Oonodedfa enabled after r37887

git-svn-id: trunk@37919 -
florian 7 년 전
부모
커밋
6d072872d0
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compiler/pdecsub.pas

+ 1 - 0
compiler/pdecsub.pas

@@ -2873,6 +2873,7 @@ const
 
     function find_proc_directive_index(tok: ttoken): longint; inline;
       begin
+        result:=-1;
         for result:=1 to num_proc_directives do
           if proc_direcdata[result].idtok=tok then
             exit;