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 <[email protected]>
Committer: Timo Reimann <[email protected]>
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;


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to