[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lyx-devel
Subject:    Re: Docbook compilation warning
From:       Thibaut Cuvelier <tcuvelier () lyx ! org>
Date:       2020-11-27 17:00:17
Message-ID: CAK0LPyj8KhW6a0_EMasYbf1oWahhTD7BkfupeORes2drPP2Q4w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Fri, 27 Nov 2020 at 12:18, Kornel Benko <kornel@lyx.org> wrote:

> /usr2/src/lyx/lyx-git/src/output_docbook.cpp: In function ‘void
> lyx::docbookParagraphs(const lyx::Text&, const lyx::Buffer&,
> lyx::XMLStream&, const
> lyx::OutputParams&)':
> /usr2/src/lyx/lyx-git/src/output_docbook.cpp:1087:7: warning: variable
> ‘currentlyInAppendix' set but not used [-Wunused-but-set-variable]
>   bool currentlyInAppendix = false;
>        ^~~~~~~~~~~~~~~~~~~
>

Fixed at dfb1ad85fa4153af88258c5814ba03c05322204b. I'm investigating why
I'm having these warnings in the first place…

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 27 \
Nov 2020 at 12:18, Kornel Benko &lt;<a \
href="mailto:kornel@lyx.org">kornel@lyx.org</a>&gt; wrote:<br></div><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex">/usr2/src/lyx/lyx-git/src/output_docbook.cpp: In \
function ‘void<br> lyx::docbookParagraphs(const lyx::Text&amp;, const \
lyx::Buffer&amp;, lyx::XMLStream&amp;, const<br> lyx::OutputParams&amp;)':<br>
/usr2/src/lyx/lyx-git/src/output_docbook.cpp:1087:7: warning: variable<br>
‘currentlyInAppendix' set but not used [-Wunused-but-set-variable]<br>
   bool currentlyInAppendix = false;<br>
           ^~~~~~~~~~~~~~~~~~~<br></blockquote><div><br></div><div>Fixed at \
dfb1ad85fa4153af88258c5814ba03c05322204b. I&#39;m investigating why I&#39;m having \
these warnings in the first place…   </div></div></div>



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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic