Le 08/11/2010 14:33, Caolán McNamara a écrit :
On Sun, 2010-11-07 at 12:33 -0600, Norbert Thiebaud wrote:
On Sun, Nov 7, 2010 at 7:00 AM, julien<serval2412@yahoo.fr>  wrote:
the if() can only be true if that value is not 0 so here you have a 
false positive.
Julien, could you log a bug against cppcheck itself with this example,
including the operator overload information. The cppcheck guys aim for
no false positives so that would be helpful for both them and us.
C.
Hello,
It's done now, ticket 2180 on the sourceforge of cpppcheck.
Julien.
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.