[cfe-commits] r132614 - /cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
Jordy Rose
jediknil at belkadan.com
Fri Jun 3 18:22:21 PDT 2011
Author: jrose
Date: Fri Jun 3 20:22:21 2011
New Revision: 132614
URL: http://llvm.org/viewvc/llvm-project?rev=132614&view=rev
Log:
[analyzer] Remove extra assignment that actually lost a few of the assumptions.
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp?rev=132614&r1=132613&r2=132614&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/CStringChecker.cpp Fri Jun 3 20:22:21 2011
@@ -737,7 +737,6 @@
return;
// Ensure the buffers do not overlap.
- state = stateNonZeroSize;
state = CheckBufferAccess(C, state, Size, Dest, Source,
/* FirstIsDst = */ true);
if (Restricted)
More information about the cfe-commits
mailing list