[Bps-public-commit] SD branch, master, updated. 0.73-30-g7afed64

Kevin Falcone falcone at bestpractical.com
Fri Nov 20 12:05:39 EST 2009


The branch, master has been updated
       via  7afed64ed38eec5cee98567f4b879550574b6790 (commit)
      from  16d6a203b56c6e95ba22c03841c08def34eb84b8 (commit)

Summary of changes:
 lib/App/SD/Replica/rt/PullEncoder.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 7afed64ed38eec5cee98567f4b879550574b6790
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Nov 20 12:05:20 2009 -0500

    kill warning about exiting a subroutine via next

diff --git a/lib/App/SD/Replica/rt/PullEncoder.pm b/lib/App/SD/Replica/rt/PullEncoder.pm
index f056d0e..049665a 100644
--- a/lib/App/SD/Replica/rt/PullEncoder.pm
+++ b/lib/App/SD/Replica/rt/PullEncoder.pm
@@ -161,7 +161,7 @@ sub transcode_one_txn {
         && $txn->{'Type'} !~ /^(?:Comment|Correspond)$/
     ) {
         warn "Skipping a data change from a merged ticket" . $txn->{'Ticket'} .' vs '. $ticket->{$self->sync_source->uuid . '-id'};
-        next;
+        return;
     }
 
     delete $txn->{'OldValue'} if ( $txn->{'OldValue'} eq '');

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list