From ed15c31bf8f988ed778b91118c69c360dd8f9538 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 8 Mar 2017 16:30:22 +0100 Subject: [PATCH] Make a dummier LyXRC for tex2lyx The old version made coverity complain about uninitialized members. The new one is the same as in support/tests/dummy_impl.cpp. --- src/tex2lyx/dummy_impl.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/tex2lyx/dummy_impl.cpp b/src/tex2lyx/dummy_impl.cpp index 8ad5b79859..6c8d13c367 100644 --- a/src/tex2lyx/dummy_impl.cpp +++ b/src/tex2lyx/dummy_impl.cpp @@ -20,7 +20,6 @@ #include "Format.h" #include "LaTeXFeatures.h" -#include "LyXRC.h" #include "output_xhtml.h" #include "support/Messages.h" @@ -58,15 +57,8 @@ bool verbose = false; // Dummy LyXRC support // -LyXRC lyxrc; -/** Note that some variables are not initialized correctly. Hopefully - * they are not used in our code (currently valgrind does not complain). - * Linking against the full LyXRC.cpp forces us to pull too much - * stuff. - */ -LyXRC::LyXRC() -{} +class LyXRC {} lyxrc; // -- 2.39.5