Remove unused currentDevice variable in removeServiceTable

currentDevice is not used in this function.
This commit is contained in:
Fabrice Fontaine
2012-03-05 11:12:37 +01:00
parent 71e77a5b27
commit 52df3081df
2 changed files with 6 additions and 2 deletions

View File

@@ -914,7 +914,6 @@ removeServiceTable( IXML_Node * node,
IXML_Node *currentUDN = NULL;
DOMString UDN = NULL;
IXML_NodeList *deviceList = NULL;
IXML_Node *currentDevice = NULL;
service_info *current_service = NULL;
service_info *start_search = NULL;
service_info *prev_service = NULL;
@@ -930,7 +929,6 @@ removeServiceTable( IXML_Node * node,
if( deviceList != NULL ) {
NumOfDevices = ixmlNodeList_length( deviceList );
for( i = 0; i < NumOfDevices; i++ ) {
currentDevice = ixmlNodeList_item( deviceList, i );
if( ( start_search )
&& ( ( getSubElement( "UDN", node, &currentUDN ) )
&& ( UDN = getElementValue( currentUDN ) ) ) ) {