Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions TSRM/TSRM.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ TSRM_API bool tsrm_startup(int expected_threads, int expected_resources, int deb
if (!tsrm_tls_table) {
TSRM_ERROR((TSRM_ERROR_LEVEL_ERROR, "Unable to allocate TLS table"));
is_thread_shutdown = true;
return 0;
return false;
}
id_count=0;

Expand All @@ -158,7 +158,7 @@ TSRM_API bool tsrm_startup(int expected_threads, int expected_resources, int deb
TSRM_ERROR((TSRM_ERROR_LEVEL_ERROR, "Unable to allocate resource types table"));
is_thread_shutdown = true;
free(tsrm_tls_table);
return 0;
return false;
}

tsmm_mutex = tsrm_mutex_alloc();
Expand All @@ -171,7 +171,7 @@ TSRM_API bool tsrm_startup(int expected_threads, int expected_resources, int deb
tsrm_env_mutex = tsrm_mutex_alloc();
tsrm_atexit_init();

return 1;
return true;
}/*}}}*/

static void ts_free_resources(
Expand Down
4 changes: 2 additions & 2 deletions Zend/Optimizer/block_pass.c
Original file line number Diff line number Diff line change
Expand Up @@ -1208,10 +1208,10 @@ static zend_always_inline bool in_hitlist(int target, const int *jmp_hitlist, in

for (i = 0; i < jmp_hitlist_count; i++) {
if (jmp_hitlist[i] == target) {
return 1;
return true;
}
}
return 0;
return false;
}

#define CHECK_LOOP(target) \
Expand Down
Loading
Loading