diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-03-22 10:15:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-03-22 13:33:08 +0100 |
commit | af6a33f495a6c0ad1981a250dde355044e8519cb (patch) | |
tree | 544cdbd4ef9d4e21fd8b9c84be9a17d00de511d5 /stoc | |
parent | 962a9ce0a1ebe63f341fa27af8203991c44dd56f (diff) |
cid#1473974 silence Explicit null dereferenced
Change-Id: Id9e381c3919dac989a5957beddd0c070d38ad47d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112870
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/typeconv/convert.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stoc/source/typeconv/convert.cxx b/stoc/source/typeconv/convert.cxx index e8fe65830a99..2f87b4f42500 100644 --- a/stoc/source/typeconv/convert.cxx +++ b/stoc/source/typeconv/convert.cxx @@ -495,6 +495,7 @@ Any SAL_CALL TypeConverter_Impl::convertTo( const Any& rVal, const Type& aDestTy { // void -> interface (null) void * null_ref = nullptr; + // coverity[var_deref_model : FALSE] - null_ref will not be derefed in this case aRet.setValue( &null_ref, aDestType ); break; } |