diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2008-05-21 22:54:34 +0200 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-05-25 14:25:34 -0400 |
commit | 1e16ab178d3cfa60818b5a64c35357735e985504 (patch) | |
tree | 2cbb4b80bb474089ddb6aaab53dd4abc710fa6cf /IkiWiki/Plugin/editdiff.pm | |
parent | 71555b595167abf77c71c1b4b8c26669d0b0130e (diff) | |
download | ikiwiki-1e16ab178d3cfa60818b5a64c35357735e985504.tar ikiwiki-1e16ab178d3cfa60818b5a64c35357735e985504.tar.gz |
Avoid ``uninitialized value'' warning when there actually is no difference between the two versions.
Diffstat (limited to 'IkiWiki/Plugin/editdiff.pm')
-rw-r--r-- | IkiWiki/Plugin/editdiff.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/editdiff.pm b/IkiWiki/Plugin/editdiff.pm index 46eb1168e..2a70ca0b8 100644 --- a/IkiWiki/Plugin/editdiff.pm +++ b/IkiWiki/Plugin/editdiff.pm @@ -25,7 +25,7 @@ sub diff ($$) { #{{{ print DIFFIN $content; close DIFFIN; - my $ret; + my $ret=''; while (<DIFFOUT>) { if (defined $ret) { $ret.=$_; |