mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 20:30:41 +00:00
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:
parent
2556c6c5f5
commit
d06bc69178
2
netwerk/cache2/CacheIOThread.cpp
Normal file → Executable file
2
netwerk/cache2/CacheIOThread.cpp
Normal file → Executable 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(),
|
||||
|
@ -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
1
netwerk/system/win32/nsNotifyAddrListener.cpp
Normal file → Executable 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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user