This patch initializes uninitialized member variable.
Coverity:110284, 107447
Change-Id: Ia5f214e0a286b8e4a75822b3c4e62f96301d52b1
Signed-off-by: mallikarjun82 <vm.arjun@samsung.com>
} // namespace
-AppControl::AppControl(app_control_h app_control) {
+AppControl::AppControl(app_control_h app_control)
+ : app_control_bundle_(nullptr){
app_control_clone(&app_control_, app_control);
app_control_to_bundle(app_control_, &app_control_bundle_);
}
-AppControl:: AppControl() {
+AppControl:: AppControl()
+ : app_control_bundle_(nullptr){
app_control_create(&app_control_);
app_control_to_bundle(app_control_, &app_control_bundle_);
}