mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-23 19:09:49 +00:00
Fix missing braces compile warning. No bug.
This commit is contained in:
parent
cbab1727e4
commit
5e49dea450
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user