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)
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits