Avoid ``uninitialized value'' warning when there actually is no difference between the two versions.
parent
71555b5951
commit
1e16ab178d
|
@ -25,7 +25,7 @@ sub diff ($$) { #{{{
|
|||
|
||||
print DIFFIN $content;
|
||||
close DIFFIN;
|
||||
my $ret;
|
||||
my $ret='';
|
||||
while (<DIFFOUT>) {
|
||||
if (defined $ret) {
|
||||
$ret.=$_;
|
||||
|
|
Loading…
Reference in New Issue