mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Remove 550+ compile warnings on OS X
The warnings had the signature: php-src/ext/mysqlnd/mysqlnd_debug.h:127:25: note: expanded from macro 'DBG_ENTER_EX2' if (dbg_skip_trace); /* shut compiler's mouth */\ ^ php-src/ext/mysqlnd/mysqlnd.c:114:2: note: put the semicolon on a separate line to silence this warning
This commit is contained in:
parent
e55c641792
commit
9063188fad
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ PHPAPI char * mysqlnd_get_backtrace(uint max_levels, size_t * length TSRMLS_DC);
|
|||
if ((dbg_obj2)) { \
|
||||
dbg_skip_trace |= !(dbg_obj2)->m->func_enter((dbg_obj2), __LINE__, __FILE__, func_name, strlen(func_name)); \
|
||||
} \
|
||||
if (dbg_skip_trace); /* shut compiler's mouth */\
|
||||
if (dbg_skip_trace) \
|
||||
/* EMPTY */ ; /* shut compiler's mouth */ \
|
||||
do { \
|
||||
if (((dbg_obj1) && (dbg_obj1)->flags & MYSQLND_DEBUG_PROFILE_CALLS) || \
|
||||
((dbg_obj2) && (dbg_obj2)->flags & MYSQLND_DEBUG_PROFILE_CALLS)) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue