compiler: remove unused variables (reduce hints)

git-svn-id: trunk@15093 -
This commit is contained in:
paul 2010-03-30 04:30:41 +00:00
parent 973d947d6c
commit 1ef53ca590
5 changed files with 6 additions and 10 deletions

View File

@ -391,8 +391,7 @@ end;
function TMessage.ClearVerbosity(nr:longint):boolean; function TMessage.ClearVerbosity(nr:longint):boolean;
var var
hp: pchar; i: longint;
i, txtbegin: longint;
begin begin
result:=false; result:=false;
i:=nr div 1000; i:=nr div 1000;

View File

@ -494,7 +494,6 @@ implementation
relpc : Boolean; relpc : Boolean;
relextern : Boolean; relextern : Boolean;
reltype : Integer; reltype : Integer;
spos : LongWord;
begin begin
s:=TMachoObjSection(p); s:=TMachoObjSection(p);

View File

@ -3347,7 +3347,6 @@ In case not, the value returned can be arbitrary.
m : longint; m : longint;
mac : tmacro; mac : tmacro;
asciinr : string[6]; asciinr : string[6];
msgwritten,
iswidestring : boolean; iswidestring : boolean;
label label
exit_label; exit_label;
@ -3775,7 +3774,6 @@ In case not, the value returned can be arbitrary.
'''','#','^' : '''','#','^' :
begin begin
len:=0; len:=0;
msgwritten:=false;
cstringpattern:=''; cstringpattern:='';
iswidestring:=false; iswidestring:=false;
if c='^' then if c='^' then

View File

@ -179,12 +179,12 @@ var
maxinfolen, maxinfolen,
code : byte; code : byte;
insns : longint; insns : longint;
attsuffile,propfile,opfile, attsuffile,{propfile,}opfile,
nopfile,attfile, nopfile,attfile,
infile,insfile : text; infile,insfile : text;
{ instruction fields } { instruction fields }
skip : boolean; skip : boolean;
last, {last,}
ops : longint; ops : longint;
attopcode, attopcode,
opcode, opcode,
@ -333,7 +333,7 @@ begin
{ codes } { codes }
skipspace; skipspace;
j:=0; j:=0;
last:=0; (* last:=0;*)
if s[i] in ['\','0'..'9'] then if s[i] in ['\','0'..'9'] then
begin begin
while not(s[i] in [' ',#9]) do while not(s[i] in [' ',#9]) do
@ -352,7 +352,7 @@ begin
end; end;
*) *)
codes:=codes+'#'+tostr(code); codes:=codes+'#'+tostr(code);
last:=code; (* last:=code;*)
inc(j); inc(j);
end; end;
end end

View File

@ -53,7 +53,7 @@ end;
Function AddPair(List : TStrings; Const NV : String) : Boolean; Function AddPair(List : TStrings; Const NV : String) : Boolean;
Var Var
P,I : Integer; P : Integer;
N,V : string; N,V : string;
begin begin