am e9859df7
: am 973bf681
: am 77039d34
: am e8f81547
: Merge "Fix build warning of initialization but no use."
* commit 'e9859df7cc57f761a4b9457b4d55ecff33bfdc8b': Fix build warning of initialization but no use.
This commit is contained in:
commit
593315c327
@ -3193,11 +3193,11 @@ static int init_mparams(void) {
|
|||||||
|
|
||||||
RELEASE_MALLOC_GLOBAL_LOCK();
|
RELEASE_MALLOC_GLOBAL_LOCK();
|
||||||
/* BEGIN android-added: move pthread_atfork outside of lock */
|
/* BEGIN android-added: move pthread_atfork outside of lock */
|
||||||
#if LOCK_AT_FORK
|
|
||||||
if (first_run != 0) {
|
if (first_run != 0) {
|
||||||
|
#if LOCK_AT_FORK
|
||||||
pthread_atfork(&pre_fork, &post_fork_parent, &post_fork_child);
|
pthread_atfork(&pre_fork, &post_fork_parent, &post_fork_child);
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
/* END android-added */
|
/* END android-added */
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user