Commit 33d02398 authored by Ruslan Zakirov's avatar Ruslan Zakirov
Browse files

get rid of uninit warnings

parent bf7a3688
......@@ -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");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment