[libcxx-commits] [PATCH] D104544: [libc++] Remove unused variable

Fanbo Meng via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 21 08:40:10 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc02160c17b7f: [libc++] Remove unused variable (authored by fanbo-meng).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104544/new/

https://reviews.llvm.org/D104544

Files:
  libcxx/include/regex


Index: libcxx/include/regex
===================================================================
--- libcxx/include/regex
+++ libcxx/include/regex
@@ -5905,7 +5905,6 @@
         __states.back().__node_ = __st;
         __states.back().__flags_ = __flags;
         __states.back().__at_first_ = __at_first;
-        const _CharT* __current = __first;
         bool __matched = false;
         int __counter = 0;
         int __length = __last - __first;
@@ -5945,8 +5944,6 @@
                     __states.pop_back();
                 break;
             case __state::__accept_and_consume:
-                __current = __s.__current_;
-                break;
             case __state::__repeat:
             case __state::__accept_but_not_consume:
                 break;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104544.353387.patch
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210621/1de4524a/attachment.bin>


More information about the libcxx-commits mailing list