Re: PVS-Studio report

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2024-11-21 at 12:51 +0100, Xisco Fauli wrote:
> -> it can be fixed with 
> https://pvs-studio.com/en/docs/manual/0040/#IDBD1CC960F7

Do I read it right, that it just has to see the comment somewhere, e.g.
if added to include/sal/config.h to treat all asserts like that ?

> bool bDropDown = false;
> xPropertySet->getPropertyValue(u"DropDown"_ustr) >>= bDropDown;
> if (bDropDown)
> 
> ↑ V547 Expression 'bDropDown' is always false.

That operator overload is a constant source of such pain :-)




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux