From 08010eba51ac75da2a8f9766bfc2f5dea4c217c4 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Fri, 15 Dec 2017 23:54:50 -0500 Subject: [PATCH] Fix #10865 compiler warnings. --- src/graphics/GraphicsConverter.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/graphics/GraphicsConverter.cpp b/src/graphics/GraphicsConverter.cpp index 598e108b73..f00f017e2e 100644 --- a/src/graphics/GraphicsConverter.cpp +++ b/src/graphics/GraphicsConverter.cpp @@ -381,9 +381,9 @@ static void build_script(string const & doc_fname, // If two formats share the same extension we may get identical names if (outfile == infile && conv.result_file().empty()) { - TempFile tempfile(addExtension("gconvertXXXXXX", conv.To()->extension())); - tempfile.setAutoRemove(false); - outfile = tempfile.name().toFilesystemEncoding(); + TempFile tmpfile(addExtension("gconvertXXXXXX", conv.To()->extension())); + tmpfile.setAutoRemove(false); + outfile = tmpfile.name().toFilesystemEncoding(); } if (!theConverters().checkAuth(conv, doc_fname)) -- 2.39.5