From 0005876d1716328d0eb8c95916024efe09a40202 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 3 Apr 2017 12:25:17 +0200 Subject: [PATCH] When converting, indicate clearly when buffer should exist This makes coverity happy, and makes out code a tiny tiny bit better commented. --- src/Converter.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Converter.cpp b/src/Converter.cpp index f58a188a60..104ad0a42c 100644 --- a/src/Converter.cpp +++ b/src/Converter.cpp @@ -463,6 +463,7 @@ bool Converters::convert(Buffer const * buffer, return false; if (conv.latex()) { + // We are not importing, we have a buffer LATTEST(buffer); run_latex = true; string command = conv.command(); @@ -474,6 +475,8 @@ bool Converters::convert(Buffer const * buffer, return false; } else { if (conv.need_aux() && !run_latex) { + // We are not importing, we have a buffer + LATTEST(buffer); string command; switch (runparams.flavor) { case OutputParams::DVILUATEX: -- 2.39.2