summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/editdiff.pm2
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.=$_;