Merge pull request #5394 from lioncash/uninit

cro_helper: Silence -Wuninitialized warning
This commit is contained in:
Pengfei Zhu 2020-06-07 22:53:06 +08:00 committed by GitHub
commit 0b307a86a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1257,7 +1257,7 @@ ResultCode CROHelper::Link(VAddr crs_address, bool link_on_load_bug_fix) {
ResultCode result = RESULT_SUCCESS;
{
VAddr data_segment_address;
VAddr data_segment_address = 0;
if (link_on_load_bug_fix) {
// this is a bug fix introduced by 7.2.0-17's LoadCRO_New
// The bug itself is: