]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix compiler warning
authorJeff Lenk <jeff@jefflenk.com>
Sat, 28 May 2011 02:46:28 +0000 (21:46 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Sat, 28 May 2011 02:46:28 +0000 (21:46 -0500)
src/include/switch_ivr.h

index 13c5a7ce51c6c8f6b63fc18d2d9a7a39a12ec15e..288751d8505587b70c3fbbd34da36ba1d181ed39 100644 (file)
@@ -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