[tools] testbot/LogUtils: Rename the $ExtraGroup variable in ParseWineTestReport().

Francois Gouget fgouget at codeweavers.com
Tue Feb 16 08:55:11 CST 2021


This makes it clearer that it has nothing to do with setting up the
current group of errors.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/lib/WineTestBot/LogUtils.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/testbot/lib/WineTestBot/LogUtils.pm b/testbot/lib/WineTestBot/LogUtils.pm
index 7a729584e..2cb2ad290 100644
--- a/testbot/lib/WineTestBot/LogUtils.pm
+++ b/testbot/lib/WineTestBot/LogUtils.pm
@@ -738,10 +738,10 @@ sub ParseWineTestReport($$$)
   my $ExtraCount = @{$LogInfo->{Extra}};
   if ($ExtraCount)
   {
-    my $CurGroup = _AddLogGroup($LogInfo, "Report validation errors");
-    $CurGroup->{Errors} = $LogInfo->{Extra};
+    my $ExtraGroup = _AddLogGroup($LogInfo, "Report validation errors");
+    $ExtraGroup->{Errors} = $LogInfo->{Extra};
     my @LineNos = (0) x $ExtraCount;
-    $CurGroup->{LineNos} = \@LineNos;
+    $ExtraGroup->{LineNos} = \@LineNos;
     $LogInfo->{ErrCount} += $ExtraCount;
   }
 
-- 
2.20.1



More information about the wine-devel mailing list