[sr-dev] git:4.0: p_usrloc: commenting out unused db_timer_udomain() to get rid of compiler warnings

Ovidiu Sas osas at voipembedded.com
Tue May 7 19:01:21 CEST 2013


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

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Wed Mar 20 13:23:49 2013 -0400

p_usrloc: commenting out unused db_timer_udomain() to get rid of compiler warnings

---

 modules/p_usrloc/udomain.c |    2 ++
 modules/p_usrloc/udomain.h |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/p_usrloc/udomain.c b/modules/p_usrloc/udomain.c
index 73824d7..a1ab4d9 100644
--- a/modules/p_usrloc/udomain.c
+++ b/modules/p_usrloc/udomain.c
@@ -589,6 +589,7 @@ done:
  * \param _d cleaned domain
  * \return 0 on success, -1 on failure
  */
+/*
 int db_timer_udomain(udomain_t* _d)
 {
 	db_key_t keys[2];
@@ -611,6 +612,7 @@ int db_timer_udomain(udomain_t* _d)
 	//if (ul_db_layer_delete(_d, NULL, NULL, keys, ops, vals, 2) < 0) { //FIXME
 	return 0;
 }
+*/
 
 
 
diff --git a/modules/p_usrloc/udomain.h b/modules/p_usrloc/udomain.h
index bbdda0f..c46a121 100644
--- a/modules/p_usrloc/udomain.h
+++ b/modules/p_usrloc/udomain.h
@@ -95,7 +95,9 @@ void print_udomain(FILE* _f, udomain_t* _d);
  * \param _d cleaned domain
  * \return 0 on success, -1 on failure
  */
+/*
 int db_timer_udomain(udomain_t* _d);
+*/
 
 
 /*!




More information about the sr-dev mailing list