commit 08010eba51ac75da2a8f9766bfc2f5dea4c217c4
Author: Richard Heck <[email protected]>
Date: Fri Dec 15 23:54:50 2017 -0500
Fix #10865 compiler warnings.
---
src/graphics/GraphicsConverter.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/graphics/GraphicsConverter.cpp
b/src/graphics/GraphicsConverter.cpp
index 598e108..f00f017 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))