]> git.lyx.org Git - features.git/commitdiff
Initialize a bunch of uninitialized members. It does not seem to
authorRichard Heck <rgheck@lyx.org>
Sun, 12 Jun 2016 03:30:33 +0000 (23:30 -0400)
committerRichard Heck <rgheck@lyx.org>
Sun, 12 Jun 2016 03:39:43 +0000 (23:39 -0400)
matter what they are initialized to. Fixes coverity #23391.

src/frontends/qt4/FloatPlacement.cpp

index 07d4e86b07994d6e608f21ecf3aac8cf81fa68d3..b446c7c057057c6e4877d09835c560a6364d37b4 100644 (file)
@@ -33,7 +33,8 @@ namespace lyx {
 namespace frontend {
 
 FloatPlacement::FloatPlacement(bool show_options, QWidget * parent)
-       : InsetParamsWidget(parent), float_list_(0)
+       : InsetParamsWidget(parent), standardfloat_ (true),
+         allows_wide_(true), allows_sideways_(true), float_list_(0)
 {
        setupUi(this);