mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix #10865 compiler warnings.
This commit is contained in:
parent
81cf4e971d
commit
08010eba51
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user