Francois Gouget : testbot/cgi: Mark an unused variable as such.
Module: tools Branch: master Commit: b70e8e7ce8b690608072151d1e2120ba8e44ad1a URL: https://source.winehq.org/git/tools.git/?a=commit;h=b70e8e7ce8b690608072151d... Author: Francois Gouget <fgouget(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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}); }
participants (1)
-
Alexandre Julliard