From fa4596a08f2027787c19db2978208781828760de Mon Sep 17 00:00:00 2001 From: yury Date: Wed, 20 Feb 2019 10:24:48 +0000 Subject: [PATCH] * ppudump: Fixed warnings with -O3. git-svn-id: trunk@41394 - --- compiler/utils/ppuutils/ppudump.pp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/compiler/utils/ppuutils/ppudump.pp b/compiler/utils/ppuutils/ppudump.pp index 039b495096..ef533306c1 100644 --- a/compiler/utils/ppuutils/ppudump.pp +++ b/compiler/utils/ppuutils/ppudump.pp @@ -596,9 +596,9 @@ var s : string; begin s:=''; + ntflags:=flags; if flags<>0 then begin - ntflags:=flags; first:=true; for i:=1to flagopts do if (flags and flagopt[i].mask)<>0 then @@ -1033,6 +1033,9 @@ var begin with ppufile do begin + fileindex:=0; + line:=0; + column:=0; { info byte layout in bits: 0-1 - amount of bytes for fileindex @@ -2393,9 +2396,9 @@ begin write(', '); write(managementoperatoropt[i].str); end; + if not first then + writeln; end; - if not first then - writeln; end;