[Libreoffice-commits] .: i18npool/source

Michael Meeks michael at kemper.freedesktop.org
Thu Jun 14 03:34:51 PDT 2012


 i18npool/source/breakiterator/breakiterator_ctl.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 441b28d4e9d0345f91fed6a2345d4d6a7c7eb5f7
Author: Christophe Jaillet <christophe.jaillet at wanadoo.fr>
Date:   Thu Jun 14 11:34:26 2012 +0100

    remove un-necessary memset

diff --git a/i18npool/source/breakiterator/breakiterator_ctl.cxx b/i18npool/source/breakiterator/breakiterator_ctl.cxx
index 70a3124..5d1d7a1 100644
--- a/i18npool/source/breakiterator/breakiterator_ctl.cxx
+++ b/i18npool/source/breakiterator/breakiterator_ctl.cxx
@@ -51,7 +51,6 @@ BreakIterator_CTL::BreakIterator_CTL() :
     // to improve performance, alloc big enough memory in construct.
     nextCellIndex = (sal_Int32*) calloc(cellIndexSize, sizeof(sal_Int32));
     previousCellIndex = (sal_Int32*) calloc(cellIndexSize, sizeof(sal_Int32));
-    memset(nextCellIndex, 0, cellIndexSize * sizeof(sal_Int32));
 }
 
 /**


More information about the Libreoffice-commits mailing list