Commit 6438d29f by Jonathan Wakely Committed by Jonathan Wakely

PR libstdc++/77936 remove unused variable

	PR libstdc++/77936
	* include/parallel/checkers.h (__is_sorted): Remove unused variable.

From-SVN: r276297
parent be525d92
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> 2019-09-28 François Dumont <fdumont@gcc.gnu.org>
* include/bits/stl_algo.h (merge): Fix documentation. * include/bits/stl_algo.h (merge): Fix documentation.
......
...@@ -55,7 +55,6 @@ namespace __gnu_parallel ...@@ -55,7 +55,6 @@ namespace __gnu_parallel
_IIter __current(__begin), __recent(__begin); _IIter __current(__begin), __recent(__begin);
unsigned long long __position = 1;
for (__current++; __current != __end; __current++) for (__current++; __current != __end; __current++)
{ {
if (__comp(*__current, *__recent)) if (__comp(*__current, *__recent))
...@@ -63,7 +62,6 @@ namespace __gnu_parallel ...@@ -63,7 +62,6 @@ namespace __gnu_parallel
return false; return false;
} }
__recent = __current; __recent = __current;
__position++;
} }
return true; return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment