From b98249301f7a56614b195d617f28ad633b1fffb4 Mon Sep 17 00:00:00 2001 From: Eunki Hong Date: Thu, 16 Nov 2023 00:42:17 +0900 Subject: [PATCH] Fix compile error at RISCV (uninitialized local value) Change-Id: I2bdf0538300ef88efba7a76a0d9f600830141f33 Signed-off-by: Eunki Hong --- examples/window/window-example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/window/window-example.cpp b/examples/window/window-example.cpp index a993c04..b914f13 100644 --- a/examples/window/window-example.cpp +++ b/examples/window/window-example.cpp @@ -528,7 +528,7 @@ public: // scissor test for Window Rotation // Toggle the clipping mode on mClippingControl if any other actor by pressing any key DALI_LOG_RELEASE_INFO("Scissor Test\n"); - ClippingMode::Type currentMode; + ClippingMode::Type currentMode{ClippingMode::DISABLED}; mClipControl.GetProperty(Actor::Property::CLIPPING_MODE).Get(currentMode); mClipControl.SetProperty(Actor::Property::CLIPPING_MODE, ((currentMode == ClippingMode::DISABLED) ? ClippingMode::CLIP_TO_BOUNDING_BOX : ClippingMode::DISABLED)); -- 2.7.4