[cfe-commits] [libcxx] r145265 - /libcxx/trunk/include/algorithm
Howard Hinnant
hhinnant at apple.com
Mon Nov 28 11:49:26 PST 2011
Author: hhinnant
Date: Mon Nov 28 13:49:26 2011
New Revision: 145265
URL: http://llvm.org/viewvc/llvm-project?rev=145265&view=rev
Log:
Remove redundant iterator assignment detected by Marshall Clow
Modified:
libcxx/trunk/include/algorithm
Modified: libcxx/trunk/include/algorithm
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/algorithm?rev=145265&r1=145264&r2=145265&view=diff
==============================================================================
--- libcxx/trunk/include/algorithm (original)
+++ libcxx/trunk/include/algorithm Mon Nov 28 13:49:26 2011
@@ -2328,10 +2328,7 @@
if (++__first != __last)
{
if (__comp(*__first, *__result.first))
- {
- __result.second = __result.first;
__result.first = __first;
- }
else
__result.second = __first;
while (++__first != __last)
More information about the cfe-commits
mailing list