mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 05:29:08 +02:00
compiler: remove unused variables (reduce hints)
git-svn-id: trunk@15093 -
This commit is contained in:
parent
973d947d6c
commit
1ef53ca590
@ -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;
|
||||||
|
@ -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);
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user