mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-03 03:10:24 +02:00
- Removed a number of unused variables, reduces noise at compilation.
git-svn-id: trunk@22880 -
This commit is contained in:
parent
47cd83ae14
commit
12ad6704f6
@ -1506,8 +1506,6 @@ begin
|
||||
end;
|
||||
|
||||
function TFPHashList.InternalFind(AHash:LongWord;const AName:TSymStr;out PrevIndex:Integer):Integer;
|
||||
var
|
||||
HashIndex : Integer;
|
||||
begin
|
||||
prefetch(AName[1]);
|
||||
Result:=FHashTable^[AHash and FCapacityMask];
|
||||
|
@ -42,8 +42,6 @@ type Tconstexprint=record
|
||||
(svalue:int64);
|
||||
end;
|
||||
|
||||
Tconststring = type pchar;
|
||||
|
||||
errorproc=procedure (i:longint);
|
||||
|
||||
{"Uses verbose" gives a dependency on cpuinfo through globals. This leads
|
||||
|
@ -58,7 +58,6 @@ implementation
|
||||
procedure thlcgcpu.gen_loadfpu_loc_cgpara(list: TAsmList; size: tdef; const l: tlocation; const cgpara: tcgpara; locintsize: longint);
|
||||
var
|
||||
locsize : tcgsize;
|
||||
locdef : tdef;
|
||||
tmploc : tlocation;
|
||||
href : treference;
|
||||
stacksize : longint;
|
||||
|
@ -282,7 +282,6 @@ implementation
|
||||
var
|
||||
sym: tasmsymbol;
|
||||
paraloc1 : tcgpara;
|
||||
hreg : tregister;
|
||||
tmpref: treference;
|
||||
sref: tsubsetreference;
|
||||
begin
|
||||
|
@ -1584,9 +1584,6 @@ implementation
|
||||
|
||||
function tinlinenode.handle_copy: tnode;
|
||||
var
|
||||
lowppn,
|
||||
highppn,
|
||||
npara,
|
||||
paras : tnode;
|
||||
ppn : tcallparanode;
|
||||
paradef : tdef;
|
||||
|
@ -439,7 +439,6 @@ implementation
|
||||
function tmoddivnode.firstoptimize: tnode;
|
||||
var
|
||||
power,shiftval : longint;
|
||||
newtype: tnodetype;
|
||||
statements : tstatementnode;
|
||||
temp : ttempcreatenode;
|
||||
begin
|
||||
|
@ -3905,7 +3905,6 @@ implementation
|
||||
var
|
||||
j, nestinglevel: longint;
|
||||
pvs, npvs: tparavarsym;
|
||||
csym, ncsym: tconstsym;
|
||||
begin
|
||||
nestinglevel:=parast.symtablelevel;
|
||||
if newtyp=procdef then
|
||||
@ -4447,9 +4446,7 @@ implementation
|
||||
|
||||
function tprocdef.getcopyas(newtyp: tdeftyp; copytyp: tproccopytyp): tstoreddef;
|
||||
var
|
||||
i : tcallercallee;
|
||||
j : longint;
|
||||
pvs : tparavarsym;
|
||||
begin
|
||||
result:=inherited getcopyas(newtyp,copytyp);
|
||||
if newtyp=procvardef then
|
||||
|
Loading…
Reference in New Issue
Block a user