[Issue#] N/A
[Problem] Bookmarks couldn't be created
[Cause] Variables used in 'bp_bookmark_adaptor_easy_create()' had some
not initialized values
[Solution] std::memset before passing its reference
[Verify] Check if bookmarks can be created
Change-Id: I861e70a6f6fa8e980423eb2721899421de9c485b
}
bp_bookmark_info_fmt info;
+
+ std::memset(&info, 0, sizeof(bp_bookmark_info_fmt));
info.type = 0;
info.parent = dirId;
info.sequence = -1;
}
}
bp_bookmark_info_fmt info;
+
+ std::memset(&info, 0, sizeof(bp_bookmark_info_fmt));
info.type = -1;
info.parent = parent_id;
info.sequence = order;