https://git.reactos.org/?p=reactos.git;a=commitdiff;h=22f60faf439c8d6b195085...
commit 22f60faf439c8d6b195085acfd94912de6d214af Author: Pierre Schweitzer pierre@reactos.org AuthorDate: Sat Feb 16 08:48:08 2019 +0100 Commit: Pierre Schweitzer pierre@reactos.org CommitDate: Sat Feb 16 08:48:08 2019 +0100
[IPHLPAPI] Remove dead code
CID 513306, 1442673, 1442697 --- dll/win32/iphlpapi/ipstats_reactos.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dll/win32/iphlpapi/ipstats_reactos.c b/dll/win32/iphlpapi/ipstats_reactos.c index 5906388fc4..6bf3df63e9 100644 --- a/dll/win32/iphlpapi/ipstats_reactos.c +++ b/dll/win32/iphlpapi/ipstats_reactos.c @@ -524,7 +524,6 @@ DWORD getNumArpEntries(void) }
closeTcpFile( tcpFile ); - if( IpArpTable ) tdiFreeThingSet( IpArpTable ); if( entitySet ) tdiFreeThingSet( entitySet ); return totalNumber; } @@ -649,7 +648,6 @@ DWORD getNumUdpEntries(void) }
closeTcpFile( tcpFile ); - if( IpUdpTable ) tdiFreeThingSet( IpUdpTable ); if( entitySet ) tdiFreeThingSet( entitySet ); return totalNumber; } @@ -761,7 +759,6 @@ DWORD getNumTcpEntries(void) }
closeTcpFile( tcpFile ); - if( IpTcpTable ) tdiFreeThingSet( IpTcpTable ); if( entitySet ) tdiFreeThingSet( entitySet ); return totalNumber; }