From 0610d77429a75d2eacb637582d8e19ebc6dc871c Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Fri, 3 Oct 2014 21:48:16 -0500 Subject: coverity#1242781 Unused Value if nLen2 is 0 then bNextNum is set and nLen1 is then 0, and the if(nLen1 || nLen2) can only be true if nLen2 is non zero and bNextNum get overriden... so the line bNextNum = !bLastAlp is useless. Change-Id: Ice62562bf321e5389f2118677e72d1b421816858 --- sc/source/core/tool/compiler.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'sc/source') diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx index fa98f83813a1..857087f18361 100644 --- a/sc/source/core/tool/compiler.cxx +++ b/sc/source/core/tool/compiler.cxx @@ -3348,7 +3348,6 @@ void ScCompiler::AutoCorrectParsedSymbol() if ( !bLastAlp && !CharClass::isAsciiNumeric( aTmp1 ) ) nStrip++; } - bNextNum = !bLastAlp; } aTmp1 = aTmp2; nLen1 = nLen2; -- cgit