Permalink
Browse files

sink some floating loops

  • Loading branch information...
1 parent c5edfb6 commit 8edf914b07df6d5e6cb01b1bd69a7aedea31c987 @skids committed Jan 31, 2013
Showing with 3 additions and 0 deletions.
  1. +1 −0 lib/Sum/Adler.pm6
  2. +1 −0 lib/Sum/CRC.pm6
  3. +1 −0 lib/Sum/SipHash.pm6
View
1 lib/Sum/Adler.pm6
@@ -112,6 +112,7 @@ role Sum::Fletcher [ :$modulusA = 65535, :$modulusB = $modulusA,
$!B += $!A;
$!B %= $modulusB;
}
+ return;
};
method finalize(*@addends) {
View
1 lib/Sum/CRC.pm6
@@ -117,6 +117,7 @@ role Sum::CRC [ :@header?, :@footer?, :$residual = 0,
$.rem +&= $mask;
$.rem +^= $poly if $a xor $b;
}
+ return;
};
method finalize(*@addends) {
View
1 lib/Sum/SipHash.pm6
@@ -188,6 +188,7 @@ role SipHash [ Int :$c = 2, Int :$d = 4, Int :$defkey = 0 ] does Sum::Partial {
$!left = 0;
}
}
+ return;
};
method pos () { $!b };

0 comments on commit 8edf914

Please sign in to comment.