mirror of
https://github.com/reactos/reactos.git
synced 2026-07-01 01:36:11 +08:00
[IPHLPAPI] getNumInterfacesInt(): Remove 'if()' redundant condition (#2884)
No impact.
Detected by Cppcheck: redundantCondition.
Addendum to 1fe3a2d6c3 (r9788).
This commit is contained in:
@@ -246,8 +246,7 @@ static DWORD getNumInterfacesInt(BOOL onlyNonLoopback)
|
||||
|
||||
for( i = 0; i < numEntities; i++ ) {
|
||||
if( isInterface( &entitySet[i] ) &&
|
||||
(!onlyNonLoopback ||
|
||||
(onlyNonLoopback && !isLoopback( tcpFile, &entitySet[i] ))) )
|
||||
(!onlyNonLoopback || !isLoopback( tcpFile, &entitySet[i] )) )
|
||||
numInterfaces++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user