Fix static analysis issue 52/309252/1
authorjusung son <jusung07.son@samsung.com>
Mon, 8 Apr 2024 04:26:57 +0000 (13:26 +0900)
committerjusung son <jusung07.son@samsung.com>
Mon, 8 Apr 2024 04:29:53 +0000 (13:29 +0900)
- Uninitialized scalar field

Change-Id: I4f1f68701d3b2f44d2fdf151054046afea58a112
Signed-off-by: jusung son <jusung07.son@samsung.com>
src/aul/aul_proc.cc

index cbcf852..b94efa4 100644 (file)
@@ -121,7 +121,7 @@ class ProcContext {
   std::string name_;
   tizen_base::Bundle extra_;
   mutable std::mutex mutex_;
-  guint source_;
+  guint source_ = 0;
 };
 
 int ReadFromPath(const std::string& path, char* buf, size_t buf_size) {