Commit b98249301f7a56614b195d617f28ad633b1fffb4
1 parent
6ee022a3
Fix compile error at RISCV (uninitialized local value)
Change-Id: I2bdf0538300ef88efba7a76a0d9f600830141f33 Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
Showing
1 changed file
with
1 additions
and
1 deletions
examples/window/window-example.cpp
| ... | ... | @@ -528,7 +528,7 @@ public: |
| 528 | 528 | // scissor test for Window Rotation |
| 529 | 529 | // Toggle the clipping mode on mClippingControl if any other actor by pressing any key |
| 530 | 530 | DALI_LOG_RELEASE_INFO("Scissor Test\n"); |
| 531 | - ClippingMode::Type currentMode; | |
| 531 | + ClippingMode::Type currentMode{ClippingMode::DISABLED}; | |
| 532 | 532 | mClipControl.GetProperty(Actor::Property::CLIPPING_MODE).Get(currentMode); |
| 533 | 533 | mClipControl.SetProperty(Actor::Property::CLIPPING_MODE, |
| 534 | 534 | ((currentMode == ClippingMode::DISABLED) ? ClippingMode::CLIP_TO_BOUNDING_BOX : ClippingMode::DISABLED)); | ... | ... |