mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-28 22:26:55 +00: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;
|
ResultCode result = RESULT_SUCCESS;
|
||||||
|
|
||||||
{
|
{
|
||||||
VAddr data_segment_address;
|
VAddr data_segment_address = 0;
|
||||||
if (link_on_load_bug_fix) {
|
if (link_on_load_bug_fix) {
|
||||||
// this is a bug fix introduced by 7.2.0-17's LoadCRO_New
|
// this is a bug fix introduced by 7.2.0-17's LoadCRO_New
|
||||||
// The bug itself is:
|
// The bug itself is:
|
||||||
|
|
Loading…
Reference in a new issue