summaryrefslogtreecommitdiff
path: root/tools/llvm-cov/GCOVReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-cov/GCOVReader.cpp')
-rw-r--r--tools/llvm-cov/GCOVReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-cov/GCOVReader.cpp b/tools/llvm-cov/GCOVReader.cpp
index cf01078462..e4570b1229 100644
--- a/tools/llvm-cov/GCOVReader.cpp
+++ b/tools/llvm-cov/GCOVReader.cpp
@@ -29,7 +29,7 @@ GCOVFile::~GCOVFile() {
/// read - Read GCOV buffer.
bool GCOVFile::read(GCOVBuffer &Buffer) {
- Format = Buffer.readGCOVFormat();
+ GCOVFormat Format = Buffer.readGCOVFormat();
if (Format == InvalidGCOV)
return false;