Am Fri, 24 Sep 2021 01:23:50 +0200
schrieb Thibaut Cuvelier <tcuvel...@lyx.org>:

> Hi Kornel,
> 
> Thanks for pointing these out, they didn't show on my side. I could quite
> easily fix the one about the unused argument in the constructor (it's
> already pushed: dca39815), but I don't know what to do for the others.
> Maybe the attached patch solves the rest of the warnings?
> 
> On Fri, 24 Sept 2021 at 00:55, Kornel Benko <kor...@lyx.org> wrote:
> 
> >
> > See attached.
> >
> >         Kornel
> > --
> > lyx-devel mailing list
> > lyx-devel@lists.lyx.org
> > http://lists.lyx.org/mailman/listinfo/lyx-devel
> >

No, it does not help. Instead the number of similar warnings doubles.

From:   lyx::Floating::docbook_tag_type_’ will be initialized after

to:     lyx::Floating::docbook_tag_type_’ will be initialized after
        lyx::Floating::docbook_float_type_’ will be initialized after

But with the attached there are no warnings.

        Kornel

diff --git a/src/Floating.cpp b/src/Floating.cpp
index d396e8a2c7..6a532aa7c9 100644
--- a/src/Floating.cpp
+++ b/src/Floating.cpp
@@ -40,12 +40,12 @@ Floating::Floating(string const & type, string const & placement,
 	  style_(style), name_(name), listname_(listName), listcommand_(listCmd),
 	  refprefix_(refPrefix), allowedplacement_(allowedplacement), required_(required),
 	  usesfloatpkg_(usesfloat), ispredefined_(ispredefined),
 	  allowswide_(allowswide), allowssideways_(allowssideways),
 	  html_tag_(htmlTag), html_attrib_(htmlAttrib), html_style_(htmlStyle),
-	  docbook_tag_(docbookTag), docbook_tag_type_(docbookTagType),
-	  docbook_caption_(docbookCaption)
+	  docbook_caption_(docbookCaption), docbook_tag_(docbookTag),
+	  docbook_tag_type_(docbookTagType)
 {
 	// Implement some edge cases for DocBook. Both docbook_float_type_ and docbook_attr_ must be computed
 	// based on the given value of docbookFloatType; docbook_tag_ can still be guessed without correlation.
 
 	// Determine the value of docbook_float_type_.

Attachment: pgppuwwrxy622.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to