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


_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to