diff options
author | Howard Hinnant <hhinnant@apple.com> | 2011-11-28 23:49:26 +0400 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2011-11-28 23:49:26 +0400 |
commit | 1c2c87c5023f36a7a43bf3611f85b57bea15811e (patch) | |
tree | 4af98955edaefebe29459eb2b4ce2e5d9471c217 /libcxx/include/algorithm | |
parent | 25d09c22093ed7ca3b2f30a844421991805db029 (diff) |
Remove redundant iterator assignment detected by Marshall Clow
llvm-svn: 145265
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r-- | libcxx/include/algorithm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm index a89b9dd65eab..6749bf61178d 100644 --- a/libcxx/include/algorithm +++ b/libcxx/include/algorithm @@ -2328,10 +2328,7 @@ minmax_element(_ForwardIterator __first, _ForwardIterator __last, _Compare __com if (++__first != __last) { if (__comp(*__first, *__result.first)) - { - __result.second = __result.first; __result.first = __first; - } else __result.second = __first; while (++__first != __last) |