From: Jeff Lenk Date: Sat, 28 May 2011 02:46:28 +0000 (-0500) Subject: fix compiler warning X-Git-Tag: v1.2-rc1~108^2~11^2~40^2~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4480abc911663e79ab15d5fe2e2cb8b2986fd618;p=thirdparty%2Ffreeswitch.git fix compiler warning --- 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