On Wed, Dec 26, 2018 at 05:09:35PM +0100, Juergen Spitzmueller wrote:
> commit 9495ff665dff01a838304671232be40a3d5dca89
> Author: Juergen Spitzmueller <sp...@lyx.org>
> Date:   Wed Dec 26 17:11:24 2018 +0100
> 
>     Make "paste recent" accessible from toolbar
>     
>     via button menu
> ---
>  lib/ui/stdtoolbars.inc           |    2 +-
>  src/frontends/qt4/GuiToolbar.cpp |   31 ++++++++++++++++++++++++++++++-
>  src/frontends/qt4/GuiToolbar.h   |    1 +
>  3 files changed, 32 insertions(+), 2 deletions(-)
> 

I get the following warning (converted to an error because I use
-Werror):

src/frontends/qt4/GuiToolbar.cpp: In member function ‘virtual void 
lyx::frontend::DynamicMenuButton::updateTriggered()’:
src/frontends/qt4/GuiToolbar.cpp:398:12: error: variable ‘default_act’ set but 
not used [-Werror=unused-but-set-variable]
   Action * default_act = nullptr;
            ^

Scott

Attachment: signature.asc
Description: PGP signature

Reply via email to