Browse Source

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

git-svn-id: trunk@37919 -
florian 7 years ago
parent
commit
6d072872d0
1 changed files with 1 additions and 0 deletions
  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;
     function find_proc_directive_index(tok: ttoken): longint; inline;
       begin
       begin
+        result:=-1;
         for result:=1 to num_proc_directives do
         for result:=1 to num_proc_directives do
           if proc_direcdata[result].idtok=tok then
           if proc_direcdata[result].idtok=tok then
             exit;
             exit;