On Mon, 31 Oct 2022 at 19:58, Scott Kostyshak <skost...@lyx.org> wrote:
> On Mon, Oct 31, 2022 at 06:40:15PM +0100, Juergen Spitzmueller wrote: > > commit 4e50da3e655b9f8d26f7d5e439d72b219d32279d > > Merge: 0df63e3 f4d588c > > Author: Juergen Spitzmueller <sp...@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).
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel