Kaynağa Gözat

* Removed unused vars.

git-svn-id: trunk@35535 -
yury 8 yıl önce
ebeveyn
işleme
5405a4727a
4 değiştirilmiş dosya ile 1 ekleme ve 4 silme
  1. 0 1
      compiler/htypechk.pas
  2. 0 1
      compiler/ncgflw.pas
  3. 1 1
      compiler/nflw.pas
  4. 0 1
      compiler/ngtcon.pas

+ 0 - 1
compiler/htypechk.pas

@@ -2517,7 +2517,6 @@ implementation
       var
         pd:tprocdef;
         candidate:pcandidate;
-        objdef: tobjectdef;
         st: tsymtable;
       begin
         { Give a small penalty for overloaded methods not defined in the

+ 0 - 1
compiler/ncgflw.pas

@@ -1114,7 +1114,6 @@ implementation
          oldContinueLabel,
          oldBreakLabel : tasmlabel;
          finallyexceptionstate: tcgexceptionstatehandler.texceptionstate;
-         prefinallyflowcontrol : tflowcontrol;
          excepttemps : tcgexceptionstatehandler.texceptiontemps;
          reasonreg : tregister;
       begin

+ 1 - 1
compiler/nflw.pas

@@ -1526,7 +1526,7 @@ implementation
 
     function tfornode.pass_1 : tnode;
       var
-        ifblock,whileblock,loopblock : tblocknode;
+        ifblock,loopblock : tblocknode;
         ifstatements,statements,loopstatements : tstatementnode;
         fromtemp,totemp : ttempcreatenode;
         do_loopvar_at_end : Boolean;

+ 0 - 1
compiler/ngtcon.pas

@@ -1675,7 +1675,6 @@ function get_next_varsym(def: tabstractrecorddef; const SymList:TFPHashObjectLis
     procedure tasmlisttypedconstbuilder.parse_objectdef(def:tobjectdef);
       var
         n      : tnode;
-        i      : longint;
         obj    : tobjectdef;
         srsym  : tsym;
         st     : tsymtable;