mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 06:38:06 +02:00
PoChecker: do not increment WarningCount CheckStatistics.
git-svn-id: trunk@44250 -
This commit is contained in:
parent
7bbea27144
commit
206cae270e
@ -308,7 +308,7 @@ begin
|
||||
PoFamily.RunTests(Options, ErrorCount, WarningCount, SL);
|
||||
debugln('RunSelectedTests: ',Format(sTotalErrors,[ErrorCount]));
|
||||
debugln(' ',Format(sTotalWarnings,[WarningCount]));
|
||||
if (ErrorCount > 0) or (WarningCount > 0) then
|
||||
if (ErrorCount > 0) or (WarningCount > 0) or (ptoCheckStatistics in Options) then
|
||||
begin
|
||||
SL.Add(Format(sTotalErrors,[ErrorCount]));
|
||||
SL.Add(Format(sTotalWarnings,[WarningCount]));
|
||||
|
@ -601,7 +601,6 @@ begin
|
||||
NrTotal := NrTranslated + NrUntranslated + NrFuzzy;
|
||||
if (NrTotal > 0) then
|
||||
begin
|
||||
WarningCount := 1; //else it will not show up...
|
||||
ErrorLog.Add(Divider);
|
||||
ErrorLog.Add(sTranslationStatistics);
|
||||
ErrorLog.Add(ShortChildName);
|
||||
|
Loading…
Reference in New Issue
Block a user