aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2019-09-30 12:52:01 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2019-09-30 12:52:01 +0100
commit6438d29fb1a31c95b9d652117a79dde2f9e4ad6f (patch)
tree6c4d094e142731ab13fb35a9d0f4060230d09ba1
parentbe525d9221f61c17e0fa34823ffd1624b0f8518a (diff)
downloadgcc-6438d29fb1a31c95b9d652117a79dde2f9e4ad6f.zip
gcc-6438d29fb1a31c95b9d652117a79dde2f9e4ad6f.tar.gz
gcc-6438d29fb1a31c95b9d652117a79dde2f9e4ad6f.tar.bz2
PR libstdc++/77936 remove unused variable
PR libstdc++/77936 * include/parallel/checkers.h (__is_sorted): Remove unused variable. From-SVN: r276297
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/parallel/checkers.h2
2 files changed, 5 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index bb19eb5..c537807 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/include/parallel/checkers.h b/libstdc++-v3/include/parallel/checkers.h
index f2737c7..e325b0a 100644
--- a/libstdc++-v3/include/parallel/checkers.h
+++ b/libstdc++-v3/include/parallel/checkers.h
@@ -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;