소스 검색

dialplan: remove unused var from cfg reload function

-reported by Juha Heinanen
Daniel-Constantin Mierla 9 년 전
부모
커밋
98a86787bb
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      modules/dialplan/dialplan.c

+ 3 - 2
modules/dialplan/dialplan.c

@@ -455,10 +455,11 @@ error:
 	return E_INVALID_PARAMS;
 }
 
+/**
+ * trigger reload of dialplan db records from config file
+ */
 static int dp_reload_f(struct sip_msg* msg)
 {
-	struct mi_root* rpl_tree= NULL;
-
 	if (dp_connect_db() < 0) {
 		LM_ERR("failed to reload rules fron database (db connect)\n");
 		return -1;