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

Thomas Baumgart thb at net-bembel.de
Sat Jan 7 09:45:49 UTC 2012


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.



-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
If you've got friends that have you thrown out of a plane in mid-air,
you don't need enemies.
(Sebas Kügler on http://vizzzion.org/blog/2010/06/jumped/)
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20120107/2c4e3b1b/attachment.sig>


More information about the KMyMoney-devel mailing list