[sr-dev] git:master: dialog: fix warning: unused variable [-Wunused-variable]

Ovidiu Sas osas at voipembedded.com
Sat Sep 13 03:14:02 CEST 2014


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

Author: Ovidiu Sas <osas at voipembedded.com>
Committer: Ovidiu Sas <osas at voipembedded.com>
Date:   Fri Sep 12 21:13:14 2014 -0400

dialog: fix warning: unused variable [-Wunused-variable]

---

 modules/dialog/dlg_profile.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/dialog/dlg_profile.c b/modules/dialog/dlg_profile.c
index 436c9fe..69f1788 100644
--- a/modules/dialog/dlg_profile.c
+++ b/modules/dialog/dlg_profile.c
@@ -448,7 +448,6 @@ static void link_profile(struct dlg_profile_link *linker, str *vkey)
 {
 	unsigned int hash;
 	struct dlg_profile_entry *p_entry;
-	struct dlg_entry *d_entry;
 
 	/* calculate the hash position */
 	hash = calc_hash_profile(&linker->hash_linker.value, vkey, linker->profile);
@@ -477,8 +476,6 @@ static void link_profile(struct dlg_profile_link *linker, str *vkey)
  */
 static void link_dlg_profile(struct dlg_profile_link *linker, struct dlg_cell *dlg)
 {
-	unsigned int hash;
-	struct dlg_profile_entry *p_entry;
 	struct dlg_entry *d_entry;
 
 	/* add the linker to the dialog */




More information about the sr-dev mailing list