[Tizen] Fix svace/coverity issue (key events constructor) accepted/tizen/8.0/unified/20231103.040849
authorEunki Hong <eunkiki.hong@samsung.com>
Tue, 31 Oct 2023 14:16:54 +0000 (23:16 +0900)
committerEunki Hong <eunkiki.hong@samsung.com>
Tue, 31 Oct 2023 14:19:03 +0000 (23:19 +0900)
This reverts commit 8989306b3ad8a8702955b0bbfc38b8fb2c9aff96.

Change-Id: I170518cb3a9c95dc5f2ee751d442d0fba905b500

dali/internal/event/events/key-event-impl.cpp

index 73514a5..fdf8b4c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -44,7 +44,8 @@ KeyEvent::KeyEvent()
   mCompose(""),
   mDeviceName(""),
   mDeviceClass(Device::Class::NONE),
-  mDeviceSubclass(Device::Subclass::NONE)
+  mDeviceSubclass(Device::Subclass::NONE),
+  mIsRepeat(false)
 {
 }