diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-07-15 08:59:59 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2020-07-15 08:59:59 +0000 |
commit | fa18be59cfa671b304f0aa8b2bf091534a0b4e67 (patch) | |
tree | 99513bb015c93d9ce93f697a9e887368988a687d /compiler/ogrel.pas | |
parent | 561c71e688c8ec8c0cda0a59839f2851c3830f94 (diff) | |
download | fpc-fa18be59cfa671b304f0aa8b2bf091534a0b4e67.tar.gz |
Fix several warnings about uninitialized local variables
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@45787 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/ogrel.pas')
-rw-r--r-- | compiler/ogrel.pas | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/ogrel.pas b/compiler/ogrel.pas index fce7d07cf4..8e0917cad8 100644 --- a/compiler/ogrel.pas +++ b/compiler/ogrel.pas @@ -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 |