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

New commits:
commit 441b28d4e9d0345f91fed6a2345d4d6a7c7eb5f7
Author: Christophe Jaillet <christophe.jail...@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));
 }
 
 /**
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to