Francois Gouget : testbot/cgi: Mark an unused variable as such.

Alexandre Julliard julliard at winehq.org
Thu Mar 3 15:56:01 CST 2022


Module: tools
Branch: master
Commit: b70e8e7ce8b690608072151d1e2120ba8e44ad1a
URL:    https://source.winehq.org/git/tools.git/?a=commit;h=b70e8e7ce8b690608072151d1e2120ba8e44ad1a

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Thu Mar  3 18:18:29 2022 +0100

testbot/cgi: Mark an unused variable as such.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 testbot/lib/ObjectModel/CGI/FormPage.pm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/testbot/lib/ObjectModel/CGI/FormPage.pm b/testbot/lib/ObjectModel/CGI/FormPage.pm
index 0ac599e..03ddea6 100644
--- a/testbot/lib/ObjectModel/CGI/FormPage.pm
+++ b/testbot/lib/ObjectModel/CGI/FormPage.pm
@@ -391,8 +391,7 @@ sub Save($)
 
   return !1 if (!$self->SaveProperties());
 
-  my $ErrKey;
-  ($ErrKey, $self->{ErrField}, $self->{ErrMessage}) = $self->{Collection}->Save();
+  (my $_ErrKey, $self->{ErrField}, $self->{ErrMessage}) = $self->{Collection}->Save();
   return ! defined($self->{ErrMessage});
 }
 




More information about the wine-cvs mailing list