From 5e49dea450a53535fc75bad8a8b566f64c34670e Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Tue, 6 Dec 2011 01:45:13 -0500 Subject: [PATCH] Fix missing braces compile warning. No bug. --- content/base/src/nsContentUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/base/src/nsContentUtils.cpp b/content/base/src/nsContentUtils.cpp index 2285ab4c84a8..66f5f29c41c9 100644 --- a/content/base/src/nsContentUtils.cpp +++ b/content/base/src/nsContentUtils.cpp @@ -530,7 +530,7 @@ nsContentUtils::InitializeEventTable() { #include "nsEventNameList.h" #undef WINDOW_ONLY_EVENT #undef EVENT - nsnull + { nsnull } }; sAtomEventTable = new nsDataHashtable; @@ -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) {