sdm: Fix uninitialized parameter
Fix uninitialized parameter for posted start dynamic feature.
Change-Id: I0102fadee7afcfb7ec450982a7ec3999718249cc
diff --git a/sdm/libs/core/color_manager.cpp b/sdm/libs/core/color_manager.cpp
index e028de6..a495091 100644
--- a/sdm/libs/core/color_manager.cpp
+++ b/sdm/libs/core/color_manager.cpp
@@ -109,7 +109,7 @@
const HWPanelInfo &info)
: display_id_(id), device_type_(type), pp_hw_attributes_(), hw_intf_(intf),
color_intf_(NULL), pp_features_(), feature_intf_(NULL) {
- int32_t enable_posted_start_dyn;
+ int32_t enable_posted_start_dyn = 0;
Debug::Get()->GetProperty(ENABLE_POSTED_START_DYN_PROP, &enable_posted_start_dyn);
if (enable_posted_start_dyn && info.mode == kModeCommand) {
feature_intf_ = GetPostedStartFeatureCheckIntf(intf, &pp_features_);