diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-30 19:39:52 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-04-30 22:04:11 +0200 |
commit | a2623abe07c5fe369c6b7315ae53de3884750839 (patch) | |
tree | 91b94319a31c38f1e1ebe52f0353c8436cedfe0d /registry/source | |
parent | 17b2f3d96fb21dcfc2fb8e54ca9670a8c58840f1 (diff) |
WaE: C6011 Dereferencing NULL pointer warnings
Change-Id: I498c10e8bc134b41e3606d8a05cf3103a9274735
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166937
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'registry/source')
-rw-r--r-- | registry/source/regkey.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/regkey.cxx b/registry/source/regkey.cxx index b2eeb63e67a6..c9fc096eaf48 100644 --- a/registry/source/regkey.cxx +++ b/registry/source/regkey.cxx @@ -439,7 +439,7 @@ RegError REGISTRY_CALLTYPE getStringListValue(RegKeyHandle hKey, char*** pValueList, sal_uInt32* pLen) { - OSL_PRECOND((pValueList != nullptr) && (pLen != nullptr), "registry::getStringListValue(): invalid parameter"); + assert(pValueList != nullptr && pLen != nullptr && "registry::getStringListValue(): invalid parameter"); *pValueList = nullptr; *pLen = 0; |