From: redi Date: Mon, 30 Sep 2019 11:52:01 +0000 (+0000) Subject: PR libstdc++/77936 remove unused variable X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=047fcaf1e1134e7da1036b9d324d854aa11a7449;p=thirdparty%2Fgcc.git PR libstdc++/77936 remove unused variable PR libstdc++/77936 * include/parallel/checkers.h (__is_sorted): Remove unused variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@276297 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index bb19eb53f566..c537807107ca 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2019-09-30 Jonathan Wakely + + PR libstdc++/77936 + * include/parallel/checkers.h (__is_sorted): Remove unused variable. + 2019-09-28 François Dumont * 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 f2737c791d60..e325b0ab8b41 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;