Skip to content

Commit

Permalink
get rid of uninit warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ruz committed Feb 7, 2013
1 parent bf7a368 commit 33d0239
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/RT/Interface/Email/Filter/TakeAction.pm
Expand Up @@ -201,6 +201,8 @@ sub GetCurrentUser {
foreach my $line (@content) {
next if $line =~ /^\s*$/ && ! $found_pseudoheaders;
last if $line !~ /^(?:(\S+(?:{.*})?)\s*?:\s*?(.*)\s*?|)$/;
next unless defined $1;

$found_pseudoheaders = 1;
push( @items, $1 => $2 );
$RT::Logger->debug("Found pseudoheader: $1 => $2");
Expand Down

0 comments on commit 33d0239

Please sign in to comment.