From 6fbf5324d76a28996133860641e5c630d93bfe68 Mon Sep 17 00:00:00 2001 From: Adeel Kazmi Date: Mon, 29 Mar 2021 17:40:00 +0100 Subject: [PATCH] Fix some SVACE issues Change-Id: Ia0245d9b136bbaef2bebf1b12b181b3ed1f4302d --- .../dali-adaptor/dali-test-suite-utils/test-graphics-controller.cpp | 4 +++- dali/internal/graphics/gles-impl/gles-graphics-texture.h | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-controller.cpp b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-controller.cpp index 48d6912..54e8f77 100644 --- a/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-controller.cpp +++ b/automated-tests/src/dali-adaptor/dali-test-suite-utils/test-graphics-controller.cpp @@ -180,7 +180,9 @@ public: : mCallStack(callStack), mBuffer(buffer), mMappedOffset(mappedOffset), - mMappedSize(mappedSize) + mMappedSize(mappedSize), + mLockedOffset(0u), + mLockedSize(0u) { } diff --git a/dali/internal/graphics/gles-impl/gles-graphics-texture.h b/dali/internal/graphics/gles-impl/gles-graphics-texture.h index 1db8f40..c6e46dc 100644 --- a/dali/internal/graphics/gles-impl/gles-graphics-texture.h +++ b/dali/internal/graphics/gles-impl/gles-graphics-texture.h @@ -92,11 +92,11 @@ protected: private: std::vector mStagingBuffer; uint32_t mTextureId{0u}; - GLenum mGlTarget; + GLenum mGlTarget{0u}; void* mGLOwnerContext{nullptr}; bool InitializeNativeImage(); bool InitializeTexture(); }; } // namespace Dali::Graphics::GLES -#endif \ No newline at end of file +#endif -- 2.7.4