Module: sems Branch: master Commit: 00212d6fd280220dcd962955a3d8321b741ecd16 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=00212d6fd280220dcd962955a3d8321b741ecd16
Author: Raphael Coeffic <[email protected]> Committer: Raphael Coeffic <[email protected]> Date: Thu Apr 12 10:58:10 2012 +0200 sip: remove strict aliasing warnings --- core/sip/Makefile | 2 +- core/sip/trans_layer.cpp | 2 -- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/core/sip/Makefile b/core/sip/Makefile index 36809c8..55c93b6 100644 --- a/core/sip/Makefile +++ b/core/sip/Makefile @@ -15,7 +15,7 @@ clean: COREPATH = .. include $(COREPATH)/../Makefile.defs -CPPFLAGS += -I$(COREPATH) +CPPFLAGS += -I$(COREPATH) -fno-strict-aliasing # implicit rules %.o : %.cpp $(COREPATH)/../Makefile.defs diff --git a/core/sip/trans_layer.cpp b/core/sip/trans_layer.cpp index 93d125b..80f72e7 100644 --- a/core/sip/trans_layer.cpp +++ b/core/sip/trans_layer.cpp @@ -847,8 +847,6 @@ int _trans_layer::send_request(sip_msg* msg, trans_ticket* tt, return res; } - DBG("dest_list.size() = %lu\n", (long unsigned int)dest_list.size()); - if(dest_list.size() == 1) { next_hop = dest_list.front().host; next_port = dest_list.front().port ? dest_list.front().port : 5060; _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
