Browse Source

* removed some unused vars

peter 27 years ago
parent
commit
9a650233f0
2 changed files with 11 additions and 7 deletions
  1. 5 2
      compiler/csopt386.pas
  2. 6 5
      compiler/symdef.inc

+ 5 - 2
compiler/csopt386.pas

@@ -61,7 +61,7 @@ Function CheckSequence(p: Pai; Reg: TRegister; Var Found: Longint; Var RegInfo:
  instructions that match is stored in Found and true is returned, otherwise
  instructions that match is stored in Found and true is returned, otherwise
  Found holds the number of instructions between StartMod and EndMod and false
  Found holds the number of instructions between StartMod and EndMod and false
  is returned}
  is returned}
-Var hp2, hp3, EndMod: Pai;
+Var hp2, hp3{, EndMod}: Pai;
     PrevNonRemovablePai: Pai;
     PrevNonRemovablePai: Pai;
     OrgRegInfo, HighRegInfo: TRegInfo;
     OrgRegInfo, HighRegInfo: TRegInfo;
     HighFound, OrgRegFound: Byte;
     HighFound, OrgRegFound: Byte;
@@ -564,7 +564,10 @@ End.
 
 
 {
 {
  $Log$
  $Log$
- Revision 1.11  1998-10-07 16:24:52  jonas
+ Revision 1.12  1998-10-20 09:32:54  peter
+   * removed some unused vars
+
+ Revision 1.11  1998/10/07 16:24:52  jonas
    * changed state to WState (WriteState), added RState for future use in
    * changed state to WState (WriteState), added RState for future use in
       instruction scheduling
       instruction scheduling
 
 

+ 6 - 5
compiler/symdef.inc

@@ -2474,8 +2474,6 @@
       var
       var
          nss : pchar;
          nss : pchar;
          i : word;
          i : word;
-         vartyp : char;
-         pst : pchar;
          param : pdefcoll;
          param : pdefcoll;
       begin
       begin
         i := 0;
         i := 0;
@@ -2603,7 +2601,7 @@
           end;
           end;
         savesize := publicsyms^.datasize;
         savesize := publicsyms^.datasize;
       end;
       end;
-      
+
     constructor tobjectdef.load;
     constructor tobjectdef.load;
       var
       var
          oldread_member : boolean;
          oldread_member : boolean;
@@ -2656,7 +2654,7 @@
              options:=options or oo_hasvmt;
              options:=options or oo_hasvmt;
           end;
           end;
      end;
      end;
-     
+
    procedure tobjectdef.check_forwards;
    procedure tobjectdef.check_forwards;
      begin
      begin
         publicsyms^.check_forwards;
         publicsyms^.check_forwards;
@@ -3181,7 +3179,10 @@
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.62  1998-10-20 08:06:58  pierre
+  Revision 1.63  1998-10-20 09:32:56  peter
+    * removed some unused vars
+
+  Revision 1.62  1998/10/20 08:06:58  pierre
     * several memory corruptions due to double freemem solved
     * several memory corruptions due to double freemem solved
       => never use p^.loc.location:=p^.left^.loc.location;
       => never use p^.loc.location:=p^.left^.loc.location;
     + finally I added now by default
     + finally I added now by default