[Libreoffice-commits] core.git: sal/qa

Michael Meeks michael.meeks at suse.com
Fri Feb 22 04:17:45 PST 2013


 sal/qa/rtl/textenc/rtl_textcvt.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 294d7afb66503af554850c64f4d195f727fa2371
Author: Michael Meeks <michael.meeks at suse.com>
Date:   Fri Feb 22 12:16:26 2013 +0000

    silence warning.
    
    Change-Id: Ibf82038c15c9ecf6de502bae1dd21e2393cafe09

diff --git a/sal/qa/rtl/textenc/rtl_textcvt.cxx b/sal/qa/rtl/textenc/rtl_textcvt.cxx
index ba7074f..5c957f6 100644
--- a/sal/qa/rtl/textenc/rtl_textcvt.cxx
+++ b/sal/qa/rtl/textenc/rtl_textcvt.cxx
@@ -252,7 +252,7 @@ void doComplexCharSetTest(ComplexCharSetTest const & rTest) {
         rtl_destroyTextToUnicodeConverter(aConverter);
     }
     if (rTest.m_bNoContext && rTest.m_bForward) {
-        sal_Unicode aUnicode[TEST_STRING_SIZE];
+        sal_Unicode aUnicode[TEST_STRING_SIZE] = { 0, };
         int nSize = 0;
         rtl_TextToUnicodeConverter aConverter
             = rtl_createTextToUnicodeConverter(rTest.m_nEncoding);


More information about the Libreoffice-commits mailing list