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

Committed as obvious.

commit 917359de04e5127ebdbb88d20b891a4140a1d266
Author: Jonathan Wakely <jwak...@redhat.com>
Date:   Mon Sep 30 11:07:01 2019 +0100

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

diff --git a/libstdc++-v3/include/parallel/checkers.h 
b/libstdc++-v3/include/parallel/checkers.h
index f2737c791d6..e325b0ab8b4 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;

Reply via email to