commit ed15c31bf8f988ed778b91118c69c360dd8f9538
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Wed Mar 8 16:30:22 2017 +0100
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 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/src/tex2lyx/dummy_impl.cpp b/src/tex2lyx/dummy_impl.cpp
index 8ad5b79..6c8d13c 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;
//