mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-12-24 17:01:48 +01:00
cro_helper: Silence -Wuninitialized warning
We can simply initialize the variable in this case with a consistent value.
This commit is contained in:
parent
76253063a3
commit
9e515a50b7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user