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

Timo Reimann timo.reimann at 1und1.de
Mon Aug 22 10:53:13 CEST 2011


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

Author: Timo Reimann <timo.reimann at 1und1.de>
Committer: Timo Reimann <timo.reimann at 1und1.de>
Date:   Sun Aug 21 23:05:19 2011 +0200

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

(Fits commit bdfdf6b7e35db04dd3fd48924082dba4dd4a63d5 done in master;
cherry pick avoided, however, because automatic merge introduced too
many changes.)

---

 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 f93ebe0..34f402e 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_subs_state(str auth_state, str** reason, int* expires)
 {
 	str str_exp;




More information about the sr-dev mailing list