From c1cf355087940a79ff32fa176e57a6010c7e7954 Mon Sep 17 00:00:00 2001 From: Fabien Spindler Date: Wed, 16 Oct 2024 11:31:22 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20warning:=20=E2=80=98void*=20memset(void*,?= =?UTF-8?q?=20int,=20size=5Ft)=E2=80=99=20clearing=20an=20object=20of=20no?= =?UTF-8?q?n-trivial=20type=20=E2=80=98class=20vpRGBf=E2=80=99;=20use=20as?= =?UTF-8?q?signment=20or=20value-initialization=20instead=20[-Wclass-memac?= =?UTF-8?q?cess]=20=20=20225=20|=20=20=20memset(I.bitmap,=200,=20I.getSize?= =?UTF-8?q?()=20*=20sizeof(vpRGBf));=20=20=20=20=20=20=20|=20=20=20~~~~~~^?= =?UTF-8?q?~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/tracker/rbt/src/rendering/vpPanda3DDepthFilters.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/tracker/rbt/src/rendering/vpPanda3DDepthFilters.cpp b/modules/tracker/rbt/src/rendering/vpPanda3DDepthFilters.cpp index 6833d83043..9620c1bc2d 100644 --- a/modules/tracker/rbt/src/rendering/vpPanda3DDepthFilters.cpp +++ b/modules/tracker/rbt/src/rendering/vpPanda3DDepthFilters.cpp @@ -221,8 +221,7 @@ void vpPanda3DDepthCannyFilter::getRender(vpImage &I, vpImage(std::max(0.0, bb.getTop()));