提交 bdc21a06 authored 作者: Seven Du's avatar Seven Du 提交者: Mike Jerris

FS-11405 #resolve tweak macro to use do while 0

the original one will leave an extra semicolon after }
上级 75d038bd
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论