diff --git a/src/@report/compile.m b/src/@report/compile.m
index 1d0a006a2ba44e1dfe7e527c343bab4a1fc9052d..106e80c66f6d6826de2534474ea57cfd85d6dd30 100644
--- a/src/@report/compile.m
+++ b/src/@report/compile.m
@@ -99,9 +99,9 @@ if opts.showOutput
         status = system([opts.compiler ' ' options middle o.fileName], '-echo');
     end
 else
-    [status, junk] = system([opts.compiler ' -interaction=batchmode ' options middle o.fileName]);
+    [status, ~] = system([opts.compiler ' -interaction=batchmode ' options middle o.fileName]);
 end
-[junk, rfn, junk] = fileparts(o.fileName);
+[~, rfn, ~] = fileparts(o.fileName);
 
 if status ~= 0
     error(['@report.compile: There was an error in compiling ' rfn '.pdf.' ...