mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 11:24:14 +02:00
Fix several warnings about uninitialized local variables
git-svn-id: trunk@45787 -
This commit is contained in:
parent
0e9fc31dd7
commit
dfdfbf896d
@ -625,6 +625,7 @@ implementation
|
||||
c: Char;
|
||||
begin
|
||||
s:='';
|
||||
c:=#0;
|
||||
if AtEoF then
|
||||
begin
|
||||
result:=false;
|
||||
@ -930,6 +931,8 @@ implementation
|
||||
FReader:=AReader;
|
||||
InputFileName:=AReader.FileName;
|
||||
Data:=CObjData.Create(InputFileName);
|
||||
ExpectedAreas:=-1;
|
||||
ExpectedSymbols:=-1;
|
||||
result:=false;
|
||||
s:='';
|
||||
repeat
|
||||
|
@ -675,6 +675,7 @@ implementation
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
result:=0;
|
||||
case maskcode of
|
||||
'dd':
|
||||
for i:=0 to insentry^.ops-1 do
|
||||
|
@ -921,6 +921,7 @@ unit cgcpu;
|
||||
optimize_op_const(size,op,a);
|
||||
mask:=$ff;
|
||||
shift:=0;
|
||||
l1:=nil;
|
||||
case op of
|
||||
OP_NONE:
|
||||
begin
|
||||
@ -1711,6 +1712,7 @@ unit cgcpu;
|
||||
i : byte;
|
||||
tmpl: TAsmLabel;
|
||||
begin
|
||||
tmpl:=nil;
|
||||
if size in [OS_8,OS_S8]then
|
||||
begin
|
||||
if cmp_op in [OC_EQ,OC_NE,OC_B,OC_AE] then
|
||||
|
Loading…
Reference in New Issue
Block a user