Avoid ``uninitialized value'' warning when there actually is no difference between the two versions.

master
Thomas Schwinge 2008-05-21 22:54:34 +02:00 committed by Joey Hess
parent 71555b5951
commit 1e16ab178d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ sub diff ($$) { #{{{
print DIFFIN $content; print DIFFIN $content;
close DIFFIN; close DIFFIN;
my $ret; my $ret='';
while (<DIFFOUT>) { while (<DIFFOUT>) {
if (defined $ret) { if (defined $ret) {
$ret.=$_; $ret.=$_;