فهرست منبع

acc_diameter: removed unused variable

Daniel-Constantin Mierla 8 سال پیش
والد
کامیت
41f6d98cc1
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      src/modules/acc_diameter/diam_tcp.c

+ 0 - 2
src/modules/acc_diameter/diam_tcp.c

@@ -95,7 +95,6 @@ int tcp_send_recv(int sfd, char* buf, int len, rd_buf_t* rb,
 	unsigned long int result_code;
 	AAAMessage *msg;
 	AAA_AVP	*avp;
-	char serviceType;
 	unsigned int m_id;
 
 	/* try to write the message to the Diameter client */
@@ -184,7 +183,6 @@ next:
 		LM_ERR("AVP_Service_Type not found\n");
 		return AAA_ERROR;
 	}
-	serviceType = avp->data.s[0];
 
 	result_code = ntohl(*((unsigned long int*)(msg->res_code->data.s)));
 	switch(result_code)