mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1613679 - Fix a misleading-indentation error in mach_override.c r=froydnj
Every day clang's warnings continue to amaze me. As does our ability to trigger them. I'm assuming that this line was meant to go within the scope of the `if`, because if it were outside the scope, then we'd be duplicating the previous `fprintf`. Differential Revision: https://phabricator.services.mozilla.com/D61835 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
4809dfc033
commit
41c425ab46
@ -237,10 +237,10 @@ mach_override_ptr(
|
|||||||
|
|
||||||
// Allocate and target the escape island to the overriding function.
|
// Allocate and target the escape island to the overriding function.
|
||||||
BranchIsland *escapeIsland = NULL;
|
BranchIsland *escapeIsland = NULL;
|
||||||
if( !err )
|
if( !err ) {
|
||||||
err = allocateBranchIsland( &escapeIsland, originalFunctionAddress );
|
err = allocateBranchIsland( &escapeIsland, originalFunctionAddress );
|
||||||
if (err) fprintf(stderr, "err = %x %s:%d\n", err, __FILE__, __LINE__);
|
if (err) fprintf(stderr, "err = %x %s:%d\n", err, __FILE__, __LINE__);
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(__ppc__) || defined(__POWERPC__)
|
#if defined(__ppc__) || defined(__POWERPC__)
|
||||||
if( !err )
|
if( !err )
|
||||||
|
Loading…
Reference in New Issue
Block a user