Browse Source

dialog(k): disable unused functionunref_new_dialog()

- get rid of compliler warning
Daniel-Constantin Mierla 13 years ago
parent
commit
880b447b43
1 changed files with 2 additions and 0 deletions
  1. 2 0
      modules_k/dialog/dlg_handlers.c

+ 2 - 0
modules_k/dialog/dlg_handlers.c

@@ -705,6 +705,7 @@ void dlg_onreq(struct cell* t, int type, struct tmcb_params *param)
  * \see dlg_onreq
  * \param dialog unreferenced dialog
  */
+#if 0
 static void unref_new_dialog(void *iuid)
 {
 	struct tmcb_params p;
@@ -713,6 +714,7 @@ static void unref_new_dialog(void *iuid)
 	p.param = (void*)&iuid;
 	dlg_onreply(0, TMCB_DESTROY, &p);
 }
+#endif
 
 
 /*!