]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-6533: --resolve fix gcc 4.9 warning due to useless right-hand operand of comma...
authorMichael Jerris <mike@jerris.com>
Mon, 19 May 2014 15:36:02 +0000 (10:36 -0500)
committerTravis Cross <tc@traviscross.com>
Wed, 11 Jun 2014 05:17:05 +0000 (05:17 +0000)
libs/sofia-sip/libsofia-sip-ua/su/sofia-sip/su_tagarg.h

index 4add4b07fec624a677c853db8ed7d6781427d179..06839f119794af104fd0210526e6ce01f97e6c55 100644 (file)
@@ -189,12 +189,12 @@ typedef struct {
  * @hideinitializer
  */
 #if SU_HAVE_TAGSTACK
-#define ta_end(ta) (va_end((ta).ap), (ta).tl->t_tag = NULL, 0)
+#define ta_end(ta) (va_end((ta).ap), (ta).tl->t_tag = NULL)
 #else
 #define ta_end(ta)                                        \
   ((((ta).tl[1].t_value) ?                                \
     (tl_vfree((tagi_t *)((ta).tl[1].t_value))) : (void)0), \
-   (ta).tl[1].t_value = 0, va_end((ta).ap), 0)
+   (ta).tl[1].t_value = 0, va_end((ta).ap))
 #endif
 
 SOFIA_END_DECLS