On 2012-11-30 11:51, Michael Meeks wrote:
On Thu, 2012-11-29 at 22:49 +0100, Eike Rathke wrote:
A pointer wouldn't change much, defaulting to NULL wouldn't make sense
anyway as then the caller wouldn't know what number type was detected
and what format index to apply.
        Sigh - I guess so; I wonder if there is a magic compiler annotation
that can pass "must-be-initialized" for reference variables to
distinguish in/out from out - so the compiler could at least warn for
this case.
Sounds like something that should be in our clang static analysis pass?
Disclaimer: http://www.peralex.com/disclaimer.html
Context
   
 
  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.