diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-10-08 11:22:53 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-10-08 11:22:53 +0000 |
| commit | 648b2fafd878f780bdf162a5b72aca4c4374745a (patch) | |
| tree | a4dc8e6a02f9bb7a79ed199a828500c71520bff3 /llvm/lib/Object/Archive.cpp | |
| parent | f995985ebabfdafa2e31cd26aeee4a5c6a55eb18 (diff) | |
| download | bcm5719-llvm-648b2fafd878f780bdf162a5b72aca4c4374745a.tar.gz bcm5719-llvm-648b2fafd878f780bdf162a5b72aca4c4374745a.zip | |
lib/Object: Suppress warnings on gcc-4.3.4 cygwin
llvm-svn: 141485
Diffstat (limited to 'llvm/lib/Object/Archive.cpp')
| -rw-r--r-- | llvm/lib/Object/Archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/Archive.cpp b/llvm/lib/Object/Archive.cpp index aeb629b7f23..e2eaff53c1f 100644 --- a/llvm/lib/Object/Archive.cpp +++ b/llvm/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; |

