[LyX/master] DocBook: remove unused variable.

Thibaut Cuvelier tcuvelier at lyx.org
Sat Apr 2 01:00:27 UTC 2022


commit 72f630cb8f370f2ab2b600be7c16f49fd8f1f276
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Fri Apr 1 04:40:10 2022 +0200

    DocBook: remove unused variable.
---
 src/insets/InsetTabular.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/insets/InsetTabular.cpp b/src/insets/InsetTabular.cpp
index 1124331..8c571d6 100644
--- a/src/insets/InsetTabular.cpp
+++ b/src/insets/InsetTabular.cpp
@@ -3717,8 +3717,6 @@ docstring Tabular::xmlRow(XMLStream & xs, row_type row, OutputParams const & run
 
 void Tabular::docbook(XMLStream & xs, OutputParams const & runparams) const
 {
-	docstring ret;
-
 	// Some tables are inline. Likely limitation: cannot output a table within a table; is that really a limitation?
 	if (!runparams.docbook_in_table) { // Check on the *outer* set of parameters, so that the table can be closed
 		// properly at the end of this function.


More information about the lyx-cvs mailing list