From aab1b145a57c3e6eedb046410e8ed35bb5ad2c97 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Sun, 20 Sep 2015 20:47:33 +0200 Subject: [PATCH] Fix missing xhtml output found by cppcheck Actually I don't know if this operator is used at all, but if it exists then it must output something. --- src/output_xhtml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index 959262d9cd..9463573d00 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -495,7 +495,7 @@ XHTMLStream & XHTMLStream::operator<<(char_type c) XHTMLStream & XHTMLStream::operator<<(char c) { clearTagDeque(); - string const d = html::escapeChar(c, escape_); + os_ << html::escapeChar(c, escape_); escape_ = ESCAPE_ALL; return *this; } -- 2.39.2