[LyX/master] Merge branch 'features/indexmacros'

Thibaut Cuvelier dourouc05 at gmail.com
Mon Oct 31 19:55:44 UTC 2022


On Mon, 31 Oct 2022 at 19:58, Scott Kostyshak <skostysh at lyx.org> wrote:

> On Mon, Oct 31, 2022 at 06:40:15PM +0100, Juergen Spitzmueller wrote:
> > commit 4e50da3e655b9f8d26f7d5e439d72b219d32279d
> > Merge: 0df63e3 f4d588c
> > Author: Juergen Spitzmueller <spitz at lyx.org>
> > Date:   Mon Oct 31 19:32:52 2022 +0100
> >
> >     Merge branch 'features/indexmacros'
> >
>
> I get the following warning:
>
> /home/scott/lyxbuilds/master-master/repo/src/insets/InsetIndex.cpp:1691:6:
> error: function 'printTree' is not needed and will not be emitted
> [-Werror,-Wunneeded-internal-declaration]
> void printTree(const IndexNode* root_node, unsigned depth = 0)
>      ^
> 1 error generated.
>

If I remember correctly, this function is only used for debugging with its
uses guarded by #if 0. Probably the function declaration should have the
same guard (or a more appropriate variable).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221031/1236d6d3/attachment-0001.html>


More information about the lyx-devel mailing list