Browse Source

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

Ovidiu Sas 11 years ago
parent
commit
cc7b8a9a05
1 changed files with 0 additions and 3 deletions
  1. 0 3
      modules/dialog/dlg_profile.c

+ 0 - 3
modules/dialog/dlg_profile.c

@@ -448,7 +448,6 @@ static void link_profile(struct dlg_profile_link *linker, str *vkey)
 {
 {
 	unsigned int hash;
 	unsigned int hash;
 	struct dlg_profile_entry *p_entry;
 	struct dlg_profile_entry *p_entry;
-	struct dlg_entry *d_entry;
 
 
 	/* calculate the hash position */
 	/* calculate the hash position */
 	hash = calc_hash_profile(&linker->hash_linker.value, vkey, linker->profile);
 	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)
 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;
 	struct dlg_entry *d_entry;
 
 
 	/* add the linker to the dialog */
 	/* add the linker to the dialog */