From 9e15bd27eaae39c2bbfa4aa4c00e1a7b043c70b9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 29 Jan 2008 18:07:20 -0500 Subject: [PATCH] avoid temp var --- IkiWiki/Render.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index a42cdc422..be5af84ba 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -378,8 +378,7 @@ sub refresh () { #{{{ if (isinternal($page)) { push @internal, $file; # Preprocess internal page in scan-only mode. - my $content=readfile(srcfile($file)); - preprocess($page, $page, $content, 1); + preprocess($page, $page, readfile(srcfile($file)), 1); } else { push @needsbuild, $file; -- 2.26.2