sal/rtl/strtmpl.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit 43de68a43f96112e14f6f83e9129e22cc0e4bcc4
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sat Mar 23 21:35:27 2013 +0100

    coverity#704247 Logically dead code
    
    Change-Id: Iaefddeb816d36d4a07234d903fafab3d6b83e1d2
    Reviewed-on: https://gerrit.libreoffice.org/2952
    Reviewed-by: Thomas Arnhold <tho...@arnhold.org>
    Reviewed-by: Thorsten Behrens <tbehr...@suse.com>
    Tested-by: Thorsten Behrens <tbehr...@suse.com>

diff --git a/sal/rtl/strtmpl.cxx b/sal/rtl/strtmpl.cxx
index 5f59795..69bd5ee 100644
--- a/sal/rtl/strtmpl.cxx
+++ b/sal/rtl/strtmpl.cxx
@@ -303,10 +303,7 @@ sal_Int32 SAL_CALL IMPL_RTL_STRNAME( hashCode_WithLength 
)( const IMPL_RTL_STRCO
         h = (h*39) + IMPL_RTL_USTRCODE( *pStr );
         pStr++;
 
-        if ( nLen < 32 )
-            nSkip = nLen / 4;
-        else
-            nSkip = nLen / 8;
+        nSkip = nLen / 8;
         nLen -= 8;
         while ( nLen > 0 )
         {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to