Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On Mon, 2015-10-05 at 10:29 +0200, Stephan Bergmann wrote:
your rather short list of 1385 issues looks more
promising now

The majority of those "Called C++ object pointer is null" are the
examples of archaic DBG_ASSERT and OSL_ENSURE, etc macros which could
be converted into "assert" because they test for null pointers and the
non-debug code goes on to unconditionally deference them.

e.g. all the basctl warnings are that
http://cgit.freedesktop.org/libreoffice/core/commit/?id=27728cc59fea7b7
8c0cb9a2ddc3c09a08684c1b8

So if were to clear the scan-build warnings on that topic, mostly by
converting to assert, then when the dust settles we could perhaps mass
convert the remaining DBG_ASSERTs to SAL_WARN

C.

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.