From 48f248ad5f9e435f3aeaa3aa9bca890687085540 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Sat, 8 Oct 2011 11:22:53 +0000 Subject: 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 --- lib/Object/Archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Object/Archive.cpp') 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; -- cgit v1.2.3-18-g5258