diff options
| author | Patrick Palka <ppalka@redhat.com> | 2026-02-12 15:17:57 -0500 |
|---|---|---|
| committer | Patrick Palka <ppalka@redhat.com> | 2026-02-12 15:17:57 -0500 |
| commit | 0852c2d9d750afd7ea82227ba04a7654e1495880 (patch) | |
| tree | b26bd6d321448f464a7879f3afd8d712b2310549 /libjava/classpath/vm/reference/java | |
| parent | 26713009e1ecef4ed0fc87e21a61fe0d4c1fe344 (diff) | |
| download | gcc-0852c2d9d750afd7ea82227ba04a7654e1495880.zip gcc-0852c2d9d750afd7ea82227ba04a7654e1495880.tar.gz gcc-0852c2d9d750afd7ea82227ba04a7654e1495880.tar.bz2 | |
libstdc++/regex: Avoid -Wunused-parameter warnings in _Executor
Now that _Executor is non-recursive most subroutines no longer use their
_Match_mode parameter (previously it was just passed to recursive _M_dfs
calls). For now, just make them unnamed to avoid warnings.
libstdc++-v3/ChangeLog:
* include/bits/regex_executor.tcc (_Executor::_M_rep_once_more):
Make unnused _Match_mode parameter unnamed.
(_Executor::_M_handle_repeat): Likewise.
(_Executor::_M_handle_subexpr_begin): Likewise.
(_Executor::_M_handle_subexpr_end): Likewise.
(_Executor::_M_handle_line_begin_assertion): Likewise.
(_Executor::_M_handle_line_end_assertion): Likewise.
(_Executor::_M_handle_match): Likewise.
(_Executor::_M_handle_backref): Likewise.
(_Executor::_M_handle_alternative): Likewise.
Reviewed-by: Jonathan Wakely <jwakely@redhat.com>
Diffstat (limited to 'libjava/classpath/vm/reference/java')
0 files changed, 0 insertions, 0 deletions
