[libcxx-commits] [PATCH] D104650: [libc++] Remove unused variable
Fanbo Meng via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jun 21 08:17:23 PDT 2021
fanbo-meng created this revision.
fanbo-meng requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Removing __current as it becomes unused-but-set after 2cf78d4ead4a2ab5375bd6087724211d04119a28 <https://reviews.llvm.org/rG2cf78d4ead4a2ab5375bd6087724211d04119a28>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104650
Files:
libcxx/include/regex
Index: libcxx/include/regex
===================================================================
--- libcxx/include/regex
+++ libcxx/include/regex
@@ -5904,7 +5904,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;
@@ -5944,8 +5943,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: D104650.353385.patch
Type: text/x-patch
Size: 772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210621/75185fcd/attachment.bin>
More information about the libcxx-commits
mailing list