зеркало из https://github.com/mozilla/gecko-dev.git
Follow-up to bug 941406 - Mark a variable as DebugOnly in order to shut up the compiler warning
Landed on a CLOSED TREE
This commit is contained in:
Родитель
9ee4b8ec5f
Коммит
e4e3619084
|
@ -31,6 +31,7 @@
|
|||
#include "nsURLHelper.h"
|
||||
#include "nsThreadUtils.h"
|
||||
|
||||
#include "mozilla/DebugOnly.h"
|
||||
#include "mozilla/HashFunctions.h"
|
||||
#include "mozilla/TimeStamp.h"
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
@ -308,7 +309,7 @@ HostDB_ClearEntry(PLDHashTable *table,
|
|||
nsHostDBEnt *he = static_cast<nsHostDBEnt*>(entry);
|
||||
MOZ_ASSERT(he, "nsHostDBEnt is null!");
|
||||
|
||||
nsHostRecord *hr = he->rec;
|
||||
DebugOnly<nsHostRecord*> hr = he->rec;
|
||||
MOZ_ASSERT(hr, "nsHostDBEnt has null host record!");
|
||||
|
||||
LOG(("Clearing cache db entry for host [%s].\n", hr->host));
|
||||
|
|
Загрузка…
Ссылка в новой задаче