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;
|
print DIFFIN $content;
|
||||||
close DIFFIN;
|
close DIFFIN;
|
||||||
my $ret;
|
my $ret='';
|
||||||
while (<DIFFOUT>) {
|
while (<DIFFOUT>) {
|
||||||
if (defined $ret) {
|
if (defined $ret) {
|
||||||
$ret.=$_;
|
$ret.=$_;
|
||||||
|
|
Loading…
Reference in New Issue