commit | af505c58222a87058fa4ac26cd8da27c141eec42 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Jun 27 23:45:44 2012 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Wed Jun 27 23:45:44 2012 +0000 |
tree | 037b02388d1c70bdca216d8ffa1d35464643e0e8 | |
parent | 8bdb58a7835a9a90dd9b9791fccf269cbc1dcef3 [diff] |
Fix uninitialized variable use bug found by the clairvoyant static analyzer. Commit::canReplaceText would not initialize its out 'Len' parameter before returning true and it would be used uninitialized in Commit::replaceText. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159306 91177308-0d34-0410-b5e6-96231b3b80d8