Commit 4f608d4d authored by Byron Jones's avatar Byron Jones

Bug 744015: Fix 'use of uninitialized value in string' in PatchReader

r=gerv, a=LpSolit
parent 2b222a69
...@@ -200,7 +200,9 @@ sub warn_if_interdiff_might_fail { ...@@ -200,7 +200,9 @@ sub warn_if_interdiff_might_fail {
# Verify that the revisions in the files are the same. # Verify that the revisions in the files are the same.
foreach my $file (keys %{$old_file_list}) { foreach my $file (keys %{$old_file_list}) {
if ($old_file_list->{$file}{old_revision} ne if (exists $old_file_list->{$file}{old_revision}
&& exists $new_file_list->{$file}{old_revision}
&& $old_file_list->{$file}{old_revision} ne
$new_file_list->{$file}{old_revision}) $new_file_list->{$file}{old_revision})
{ {
return 'interdiff2'; return 'interdiff2';
......
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