diff options
author | Zachary Turner <zturner@google.com> | 2016-06-07 18:42:39 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-06-07 18:42:39 +0000 |
commit | 5839503f08d31b52311d7d38df0631693573df9e (patch) | |
tree | e3517a6de6e4056b4a9127fd350860bbfeb23d91 /llvm/lib/DebugInfo/PDB | |
parent | 930e031d64ea8e32792c05402080c4f85a218df5 (diff) | |
download | bcm5719-llvm-5839503f08d31b52311d7d38df0631693573df9e.tar.gz bcm5719-llvm-5839503f08d31b52311d7d38df0631693573df9e.zip |
[pdb] Fix a potential overflow and remove unnecessary comments.
llvm-svn: 272043
Diffstat (limited to 'llvm/lib/DebugInfo/PDB')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp b/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp index 81762e7f879..9ef0a492e87 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/PDBFile.cpp @@ -210,10 +210,7 @@ Error PDBFile::parseStreamData() { if (DirectoryStream) return Error::success(); - // bool SeenNumStreams = false; uint32_t NumStreams = 0; - // uint32_t StreamIdx = 0; - // uint64_t DirectoryBytesRead = 0; const SuperBlock *SB = Context->SB; |