tools/source/generic/bigint.cxx | 2 -- tools/source/rc/resmgr.cxx | 2 -- 2 files changed, 4 deletions(-)
New commits: commit 39a097f52e47ca9df8a2c77c560b6036a8ec376d Author: Stephan Bergmann <[email protected]> Date: Mon Oct 5 09:59:56 2015 +0200 clang-analyzer-deadcode.DeadStores Change-Id: Ic4aba87fa750824a366fba18fcfa46fa11d31e78 diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index 01bd963..33c1e08 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -898,12 +898,10 @@ void ResMgr::TestStack() if ( upperLimit < 0 ) { OSL_FAIL( "resource stack underrun!" ); - upperLimit = aStack.size() - 1; } else if ( upperLimit >= static_cast<int>(aStack.size()) ) { OSL_FAIL( "stack occupation index > allocated stack size" ); - upperLimit = aStack.size() - 1; } } commit f7cee96168463484cff88cd596cb6e69f1845e52 Author: Stephan Bergmann <[email protected]> Date: Mon Oct 5 09:55:51 2015 +0200 clang-analyzer-deadcode.DeadStores Change-Id: Iec5a5fe5f14a9dcdbd7644bf67d4a985e42cd957 diff --git a/tools/source/generic/bigint.cxx b/tools/source/generic/bigint.cxx index cfc156e..3bd915c 100644 --- a/tools/source/generic/bigint.cxx +++ b/tools/source/generic/bigint.cxx @@ -339,7 +339,6 @@ void BigInt::DivLong( const BigInt& rB, BigInt& rErg ) const nQ--; // Start division nK = 0; - nTmp = 0; for (i = 0; i < nLenB; i++) { nTmp = (long)aTmpA.nNum[j - nLenB + i] @@ -407,7 +406,6 @@ void BigInt::ModLong( const BigInt& rB, BigInt& rErg ) const nQ--; // Start division nK = 0; - nTmp = 0; for (i = 0; i < nLenB; i++) { nTmp = (long)aTmpA.nNum[j - nLenB + i] _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
