FS-11405 #resolve tweak macro to use do while 0
the original one will leave an extra semicolon after }
This commit is contained in:
parent
75d038bd36
commit
bdc21a0607
|
@ -66,11 +66,11 @@ SWITCH_BEGIN_EXTERN_C struct switch_unicast_conninfo {
|
|||
typedef struct switch_unicast_conninfo switch_unicast_conninfo_t;
|
||||
|
||||
#define SWITCH_IVR_VERIFY_SILENCE_DIVISOR(divisor) \
|
||||
{ \
|
||||
do { \
|
||||
if ((divisor) <= 0 && (divisor) != -1) { \
|
||||
divisor = 400; \
|
||||
} \
|
||||
}
|
||||
} while (0)
|
||||
|
||||
/**
|
||||
* @defgroup switch_ivr IVR Library
|
||||
|
|
Loading…
Reference in New Issue