Alexandre Julliard : testbot: Add a missing return.
Alexandre Julliard
julliard at winehq.org
Sun Apr 22 03:11:53 CDT 2018
Module: tools
Branch: master
Commit: adb48711595d68dd02ed1009420f572a6a552c52
URL: https://source.winehq.org/git/tools.git/?a=commit;h=adb48711595d68dd02ed1009420f572a6a552c52
Author: Alexandre Julliard <julliard at winehq.org>
Date: Sun Apr 22 10:10:22 2018 +0200
testbot: Add a missing return.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/lib/ObjectModel/DBIBackEnd.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testbot/lib/ObjectModel/DBIBackEnd.pm b/testbot/lib/ObjectModel/DBIBackEnd.pm
index ec1b450..88ecf85 100644
--- a/testbot/lib/ObjectModel/DBIBackEnd.pm
+++ b/testbot/lib/ObjectModel/DBIBackEnd.pm
@@ -519,7 +519,7 @@ sub SaveItem($$)
{
die "Internal error: Need to save new items via collection";
}
- if (!$Item->GetIsModified());
+ return if (!$Item->GetIsModified());
my ($MasterColNames, $MasterColValues) = $Item->GetMasterCols();
my $Query = $self->BuildUpdateStatement($Item->GetTableName(),
More information about the wine-cvs
mailing list