diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-30 10:15:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-30 14:48:15 +0200 |
commit | b671bb2ea72b225985eb02b275915c32ec03291c (patch) | |
tree | b992a6a3b42a96e64bf390529a857ec15b625d2a /codemaker/source | |
parent | 2db558b5a1c01b3a08f60962c0115a34aa09bf90 (diff) |
WaE: C6011 Dereferencing NULL pointer warnings
convert OSL_ASSERT to assert
Change-Id: I047b5987734c14e05c9be89db297749c36a0a26f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166922
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'codemaker/source')
-rw-r--r-- | codemaker/source/cppumaker/includes.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codemaker/source/cppumaker/includes.cxx b/codemaker/source/cppumaker/includes.cxx index 05f768bbc505..ec8a9ea3c8c5 100644 --- a/codemaker/source/cppumaker/includes.cxx +++ b/codemaker/source/cppumaker/includes.cxx @@ -125,7 +125,7 @@ void Includes::add(OString const & entityName) { namespace { void dumpEmptyLineBeforeFirst(FileStream & out, bool * first) { - OSL_ASSERT(first != nullptr); + assert(first != nullptr); if (*first) { out << "\n"; *first = false; |