Skip to content

Commit

Permalink
initialize variables consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 12, 2015
1 parent 0c0345d commit 45027e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Mojo/Message.pm
Expand Up @@ -219,8 +219,7 @@ sub uploads {
sub _build {
my ($self, $method) = @_;

my $buffer = '';
my $offset = 0;
my ($buffer, $offset) = ('', 0);
while (1) {

# No chunk yet, try again
Expand Down

0 comments on commit 45027e8

Please sign in to comment.