aboutsummaryrefslogtreecommitdiff
path: root/lib/Object/Archive.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Object/Archive.cpp')
-rw-r--r--lib/Object/Archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Object/Archive.cpp b/lib/Object/Archive.cpp
index aeb629b7f2..e2eaff53c1 100644
--- a/lib/Object/Archive.cpp
+++ b/lib/Object/Archive.cpp
@@ -146,7 +146,7 @@ Archive::Archive(MemoryBuffer *source, error_code &ec)
// Get the string table. It's the 3rd member.
child_iterator StrTable = begin_children();
child_iterator e = end_children();
- for (int i = 0; StrTable != e && i < 2; ++StrTable, ++i);
+ for (int i = 0; StrTable != e && i < 2; ++StrTable, ++i) {}
// Check to see if there were 3 members, or the 3rd member wasn't named "//".
StringRef name;