Remove unused currentDevice variable in removeServiceTable
currentDevice is not used in this function. (cherry picked from commit 52df3081dfdd684a2deaa1f5eec8f86292496cd6)
This commit is contained in:
parent
1480623410
commit
0eb4101492
@ -299,6 +299,12 @@ Version 1.8.0
|
||||
Version 1.6.16
|
||||
*******************************************************************************
|
||||
|
||||
2012-03-05 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
Remove unused currentDevice variable in removeServiceTable
|
||||
|
||||
currentDevice is not used in this function.
|
||||
|
||||
2012-03-05 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
SF Bug Tracker id 3496581 - Memory leak in getServiceList
|
||||
|
@ -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, ¤tUDN ) )
|
||||
&& ( UDN = getElementValue( currentUDN ) ) ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user