From e0f2971552e4d9fd10e2387dc4d4aa00066a27c4 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Wed, 8 Sep 1999 21:26:24 +0000 Subject: [PATCH] Fixed build bustage git-svn-id: svn://10.0.0.236/trunk@46415 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/string/obsolete/nsStr.cpp | 2 +- mozilla/xpcom/ds/nsStr.cpp | 2 +- mozilla/xpcom/string/obsolete/nsStr.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/string/obsolete/nsStr.cpp b/mozilla/string/obsolete/nsStr.cpp index 46afdc43fe7..46c668ede57 100644 --- a/mozilla/string/obsolete/nsStr.cpp +++ b/mozilla/string/obsolete/nsStr.cpp @@ -38,7 +38,7 @@ //static const char* kCallFindChar = "For better performance, call FindChar() for targets whose length==1."; //static const char* kCallRFindChar = "For better performance, call RFindChar() for targets whose length==1."; -static const PRUnichar gCommonEmptyBuffer[1]; +static const PRUnichar gCommonEmptyBuffer[1] = {0}; /** * This method initializes all the members of the nsStr structure diff --git a/mozilla/xpcom/ds/nsStr.cpp b/mozilla/xpcom/ds/nsStr.cpp index 46afdc43fe7..46c668ede57 100644 --- a/mozilla/xpcom/ds/nsStr.cpp +++ b/mozilla/xpcom/ds/nsStr.cpp @@ -38,7 +38,7 @@ //static const char* kCallFindChar = "For better performance, call FindChar() for targets whose length==1."; //static const char* kCallRFindChar = "For better performance, call RFindChar() for targets whose length==1."; -static const PRUnichar gCommonEmptyBuffer[1]; +static const PRUnichar gCommonEmptyBuffer[1] = {0}; /** * This method initializes all the members of the nsStr structure diff --git a/mozilla/xpcom/string/obsolete/nsStr.cpp b/mozilla/xpcom/string/obsolete/nsStr.cpp index 46afdc43fe7..46c668ede57 100644 --- a/mozilla/xpcom/string/obsolete/nsStr.cpp +++ b/mozilla/xpcom/string/obsolete/nsStr.cpp @@ -38,7 +38,7 @@ //static const char* kCallFindChar = "For better performance, call FindChar() for targets whose length==1."; //static const char* kCallRFindChar = "For better performance, call RFindChar() for targets whose length==1."; -static const PRUnichar gCommonEmptyBuffer[1]; +static const PRUnichar gCommonEmptyBuffer[1] = {0}; /** * This method initializes all the members of the nsStr structure