Small code style change

Suggesting a code style change.
This commit is contained in:
cpsw 2017-12-09 11:01:03 -03:00 committed by GitHub
parent 620dad1204
commit 54aec6c9e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,10 @@ void __system_allocateHeaps(void)
void __attribute__((weak)) __libctru_init(void (*retAddr)(void))
{
/* Store the return address */
__system_retAddr = envIsHomebrew() ? retAddr : NULL;
__system_retAddr = NULL;
if (envIsHomebrew()) {
__system_retAddr = retAddr;
}
/* Initialize the synchronization subsystem */
__sync_init();