[Kmymoney-devel] warning: parameter ‘updateLens’ set but not used [-Wunused-but-set-parameter]

Thomas Baumgart thb at net-bembel.de
Sat Jan 7 17:51:48 UTC 2012


Hi,

on Saturday 07 January 2012 11:18:44 Allan wrote:

> On 07/01/12 09:45, Thomas Baumgart wrote:
> > Hi,
> > 
> > on Friday 06 January 2012 Allan wrote:
> >> I've recently started getting warning messages during my builds.
> >> 
> >> In member function ‘virtual void
> >> KMyMoneyRegister::RegisterItem::setFocus(bool, bool)’:
> >> /home/aga/Git/kmymoney/kmymoney/widgets/registeritem.h:92:16: warning:
> >> parameter ‘updateLens’ set but not used [-Wunused-but-set-parameter]
> >> 
> >> I'm using Version 4.6.90-c6dfd13dfc.
> > 
> > Looks like you have a newer compiler with a new option "-Wunused-but-set-
> > parameter" which shows the warning. It's a warning, so it does not harm.
> > I'll take a look once I am at my dev box later today.
> 
> Thanks Thomas.
> 
> I've recently installed openSuse 12.1, but hadn't taken note of when
> exactly this started.  The only harm it does is temporarily cause my
> anxiety level to rise when I see several unexpected messages!

OK, should be fixed now in git master.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
morphir: so much confusion :S kmake, kdemake, qmake make cmake etc.
logixoul: you forgot cmakekde :)
morphir: and bakemeacake
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 225 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20120107/2297bed7/attachment.sig>


More information about the KMyMoney-devel mailing list