compiler: remove/hide few unused variables

git-svn-id: trunk@18912 -
This commit is contained in:
paul 2011-08-30 01:32:23 +00:00
parent adceaf438c
commit 4b24a58871
4 changed files with 5 additions and 4 deletions

View File

@ -346,9 +346,8 @@ implementation
function taddnode.simplify(forinline : boolean) : tnode;
var
t, hp : tnode;
t : tnode;
lt,rt : tnodetype;
realdef : tdef;
rd,ld : tdef;
rv,lv,v : tconstexprint;
rvd,lvd : bestreal;

View File

@ -1623,7 +1623,9 @@ end;
procedure pd_interrupt(pd:tabstractprocdef);
{$ifdef FPC_HAS_SYSTEMS_INTERRUPT_TABLE}
var v: Tconstexprint;
{$endif FPC_HAS_SYSTEMS_INTERRUPT_TABLE}
begin
if pd.parast.symtablelevel>normal_function_level then

View File

@ -1563,8 +1563,6 @@ implementation
function tstaticsymtable.checkduplicate(var hashedid:THashedIDString;sym:TSymEntry):boolean;
var
hsym : tsym;
begin
result:=inherited checkduplicate(hashedid,sym);

View File

@ -1729,7 +1729,9 @@ implementation
c : byte;
len : shortint;
ea_data : ea;
{$ifdef x86_64}
omit_rexw : boolean;
{$endif x86_64}
begin
len:=0;
codes:=@p^.code[0];