DEV9: Don't shadow return value of GetAdaptersAddresses

This commit is contained in:
TheLastRar 2021-10-29 18:32:34 +01:00 committed by lightningterror
parent 7b815b5f07
commit 3835fc5ad1
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ bool PCAPGetWin32Adapter(const char* name, PIP_ADAPTER_ADDRESSES adapter, std::u
dwBufLen = sizeof(IP_ADAPTER_ADDRESSES) * neededSize;
DevCon.WriteLn("DEV9: New size %i", neededSize);
DWORD dwStatus = GetAdaptersAddresses(
dwStatus = GetAdaptersAddresses(
AF_UNSPEC,
GAA_FLAG_INCLUDE_PREFIX | GAA_FLAG_INCLUDE_GATEWAYS,
NULL,