mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-04 20:20:54 +00:00
Remove redundant iterator assignment detected by Marshall Clow
llvm-svn: 145265
This commit is contained in:
parent
25d09c2209
commit
1c2c87c502
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user