sc/inc/arraysumfunctor.hxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7f15354c4f5048d7b9fd9fec5968f81e8ef8b09b
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Fri Feb 11 11:20:50 2022 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Feb 11 14:46:46 2022 +0100

    Avoid warning C4702: unreachable code
    
    > 
C:\cygwin\home\tdf\lode\jenkins\workspace\lo_tb_master_win64_dbg\sc\inc\arraysumfunctor.hxx(75)
 : error C2220: the following warning is treated as an error
    > 
C:\cygwin\home\tdf\lode\jenkins\workspace\lo_tb_master_win64_dbg\sc\inc\arraysumfunctor.hxx(75)
 : warning C4702: unreachable code
    
    (<https://ci.libreoffice.org//job/lo_tb_master_win64_dbg/32859/>)
    
    Change-Id: I27a66176717b293d60f98f82f06ec5ce7a28e6c8
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129812
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/sc/inc/arraysumfunctor.hxx b/sc/inc/arraysumfunctor.hxx
index eecfa59c3f65..c261c120addf 100644
--- a/sc/inc/arraysumfunctor.hxx
+++ b/sc/inc/arraysumfunctor.hxx
@@ -71,8 +71,9 @@ static inline KahanSum executeFast(size_t& i, size_t nSize, 
const double* pCurre
 {
 #if SC_USE_SSE2
     return executeSSE2(i, nSize, pCurrent);
-#endif
+#else
     return executeUnrolled(i, nSize, pCurrent);
+#endif
 }
 
 /**

Reply via email to