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

Allan agander93 at gmail.com
Sat Jan 7 10:18:44 UTC 2012


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!

Allan


More information about the KMyMoney-devel mailing list