summaryrefslogtreecommitdiff
path: root/lib/Object/Archive.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-10-08 11:22:53 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-10-08 11:22:53 +0000
commit48f248ad5f9e435f3aeaa3aa9bca890687085540 (patch)
treefbcfff5bcdb42770a6458ad5f74acadfc8e488d8 /lib/Object/Archive.cpp
parent017449d64b8920eb926e9e752e22d2f5921a6237 (diff)
downloadllvm-48f248ad5f9e435f3aeaa3aa9bca890687085540.tar.gz
llvm-48f248ad5f9e435f3aeaa3aa9bca890687085540.tar.bz2
llvm-48f248ad5f9e435f3aeaa3aa9bca890687085540.tar.xz
lib/Object: Suppress warnings on gcc-4.3.4 cygwin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141485 91177308-0d34-0410-b5e6-96231b3b80d8
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;