Fix missing braces compile warning. No bug.

This commit is contained in:
Boris Zbarsky 2011-12-06 01:45:13 -05:00
parent cbab1727e4
commit 5e49dea450

View File

@ -530,7 +530,7 @@ nsContentUtils::InitializeEventTable() {
#include "nsEventNameList.h"
#undef WINDOW_ONLY_EVENT
#undef EVENT
nsnull
{ nsnull }
};
sAtomEventTable = new nsDataHashtable<nsISupportsHashKey, EventNameMapping>;
@ -578,7 +578,7 @@ nsContentUtils::InitializeTouchEventTable()
#include "nsEventNameList.h"
#undef TOUCH_EVENT
#undef EVENT
nsnull
{ nsnull }
};
// Subtract one from the length because of the trailing null
for (PRUint32 i = 0; i < ArrayLength(touchEventArray) - 1; ++i) {