Bug 1392642 Remove unused variables in netwerk/ to silence warnings r=bagder,nwgh

MozReview-Commit-ID: LLTB5RJ4ZMz

--HG--
extra : rebase_source : 26a94bce6e9a3f22542d04e9930ff74eddd1f7ca
This commit is contained in:
Tom Ritter 2017-08-24 12:03:19 -05:00
parent 2556c6c5f5
commit d06bc69178
3 changed files with 2 additions and 3 deletions

2
netwerk/cache2/CacheIOThread.cpp Normal file → Executable file
View File

@ -148,7 +148,7 @@ BlockingIOWatcher::~BlockingIOWatcher()
void BlockingIOWatcher::InitThread()
{
// GetCurrentThread() only returns a pseudo handle, hence DuplicateHandle
BOOL result = ::DuplicateHandle(
::DuplicateHandle(
GetCurrentProcess(),
GetCurrentThread(),
GetCurrentProcess(),

View File

@ -517,7 +517,7 @@ static void DnsPrefChanged(const char* aPref, void* aClosure)
return;
}
auto self = static_cast<nsHostResolver*>(aClosure);
DebugOnly<nsHostResolver*> self = static_cast<nsHostResolver*>(aClosure);
MOZ_ASSERT(self);
sGetTtlEnabled = Preferences::GetBool(kPrefGetTtl);

1
netwerk/system/win32/nsNotifyAddrListener.cpp Normal file → Executable file
View File

@ -187,7 +187,6 @@ bool nsNotifyAddrListener::findMac(char *gateway)
if (status == NO_ERROR) {
for (DWORD i = 0; i < pIpNetTable->dwNumEntries; ++i) {
DWORD dwCurrIndex = pIpNetTable->table[i].dwIndex;
char hw[256];
if (!macAddr(pIpNetTable->table[i].bPhysAddr,