[sr-dev] git:master: modules_k/rls: Remove definitions of CONT_COPY{, _1} as they are

Timo Reimann timo.reimann at 1und1.de
Thu Aug 18 15:03:53 CEST 2011


Module: sip-router
Branch: master
Commit: bdfdf6b7e35db04dd3fd48924082dba4dd4a63d5
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bdfdf6b7e35db04dd3fd48924082dba4dd4a63d5

Author: Timo Reimann <timo.reimann at 1und1.de>
Committer: Timo Reimann <timo.reimann at 1und1.de>
Date:   Wed Aug 17 18:05:55 2011 +0200

modules_k/rls: Remove definitions of CONT_COPY{,_1} as they are
not used within the module and produce compiler warnings.

---

 modules_k/rls/resource_notify.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/modules_k/rls/resource_notify.c b/modules_k/rls/resource_notify.c
index 254cf74..f472902 100644
--- a/modules_k/rls/resource_notify.c
+++ b/modules_k/rls/resource_notify.c
@@ -48,19 +48,6 @@
  * */
 static str su_200_rpl     = str_init("OK");
 
-#define CONT_COPY(buf, dest, source)\
-	dest.s= (char*)buf+ size;\
-	memcpy(dest.s, source.s, source.len);\
-	dest.len= source.len;\
-	size+= source.len;
-
-
-#define CONT_COPY_1 (buf, dest_s, dest_len, source_s, source_len)\
-	dest_s= (char*)buf+ size;\
-	memcpy(dest_s, source_s, source_len);\
-	dest_len= source_len;\
-	size+= source_len;
-
 int parse_rlsubs_did(char* str_did, str* callid, str* from_tag, str* to_tag)
 {
 	char* smc= NULL;




More information about the sr-dev mailing list