mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix expression warnings and break warnings
Close GH-5675.
This commit is contained in:
parent
1d8233877c
commit
7d6a0ba808
27 changed files with 60 additions and 60 deletions
|
@ -129,18 +129,18 @@ PHPAPI MYSQLND_DEBUG * mysqlnd_debug_init(const char * skip_functions[]);
|
|||
/* 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)) \
|
||||
if (((dbg_obj1) && ((dbg_obj1)->flags & MYSQLND_DEBUG_PROFILE_CALLS)) || \
|
||||
((dbg_obj2) && ((dbg_obj2)->flags & MYSQLND_DEBUG_PROFILE_CALLS))) \
|
||||
{ \
|
||||
DBG_PROFILE_START_TIME(); \
|
||||
} \
|
||||
} while (0);
|
||||
|
||||
#define DBG_LEAVE_EX2(dbg_obj1, dbg_obj2, leave) \
|
||||
do {\
|
||||
#define DBG_LEAVE_EX2(dbg_obj1, dbg_obj2, leave) \
|
||||
do { \
|
||||
uint64_t this_call_duration = 0; \
|
||||
if (((dbg_obj1) && (dbg_obj1)->flags & MYSQLND_DEBUG_PROFILE_CALLS) || \
|
||||
((dbg_obj2) && (dbg_obj2)->flags & MYSQLND_DEBUG_PROFILE_CALLS)) \
|
||||
if (((dbg_obj1) && ((dbg_obj1)->flags & MYSQLND_DEBUG_PROFILE_CALLS)) || \
|
||||
((dbg_obj2) && ((dbg_obj2)->flags & MYSQLND_DEBUG_PROFILE_CALLS))) \
|
||||
{ \
|
||||
DBG_PROFILE_END_TIME(this_call_duration); \
|
||||
} \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue