diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-05 15:09:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-05 17:29:41 +0000 |
commit | 42294e47bbff63e01639a8a70daa5e93c3380bc4 (patch) | |
tree | 6db983449288d8e1875f539858093c5f9f68a373 /sal/rtl | |
parent | 20491c664a5708f68b7dc58a43ed6e4f78cb52bf (diff) |
cppcheck-suppress sizeofwithsilentarraypointer
Change-Id: I794cb2f3f31e9ce48f3568bd5a4afc52abf0f934
Reviewed-on: https://gerrit.libreoffice.org/22160
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sal/rtl')
-rw-r--r-- | sal/rtl/alloc_global.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/rtl/alloc_global.cxx b/sal/rtl/alloc_global.cxx index ca6601bfd213..6dd24f186af7 100644 --- a/sal/rtl/alloc_global.cxx +++ b/sal/rtl/alloc_global.cxx @@ -237,6 +237,7 @@ void rtl_memory_fini() int i, n; /* clear g_alloc_table */ + // cppcheck-suppress sizeofwithsilentarraypointer memset (g_alloc_table, 0, sizeof(g_alloc_table)); /* cleanup g_alloc_caches */ |