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:
Ehsan Akhgari 2013-11-22 10:56:47 -05:00
Родитель 9ee4b8ec5f
Коммит e4e3619084
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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));