PR libstdc++/77936 remove unused variable
PR libstdc++/77936 * include/parallel/checkers.h (__is_sorted): Remove unused variable. From-SVN: r276297
This commit is contained in:
parent
be525d9221
commit
6438d29fb1
@ -1,3 +1,8 @@
|
||||
2019-09-30 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/77936
|
||||
* include/parallel/checkers.h (__is_sorted): Remove unused variable.
|
||||
|
||||
2019-09-28 François Dumont <fdumont@gcc.gnu.org>
|
||||
|
||||
* include/bits/stl_algo.h (merge): Fix documentation.
|
||||
|
@ -55,7 +55,6 @@ namespace __gnu_parallel
|
||||
|
||||
_IIter __current(__begin), __recent(__begin);
|
||||
|
||||
unsigned long long __position = 1;
|
||||
for (__current++; __current != __end; __current++)
|
||||
{
|
||||
if (__comp(*__current, *__recent))
|
||||
@ -63,7 +62,6 @@ namespace __gnu_parallel
|
||||
return false;
|
||||
}
|
||||
__recent = __current;
|
||||
__position++;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user