From 4480abc911663e79ab15d5fe2e2cb8b2986fd618 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Fri, 27 May 2011 21:46:28 -0500 Subject: [PATCH] fix compiler warning --- src/include/switch_ivr.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/switch_ivr.h b/src/include/switch_ivr.h index 13c5a7ce51..288751d850 100644 --- a/src/include/switch_ivr.h +++ b/src/include/switch_ivr.h @@ -63,11 +63,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