develooper Front page | perl.perl5.changes | Postings from March 2023

[Perl/perl5] 416ea0: regexec.c: fix warning about unused argument toca...

From:
mauke via perl5-changes
Date:
March 30, 2023 17:56
Subject:
[Perl/perl5] 416ea0: regexec.c: fix warning about unused argument toca...
Message ID:
Perl/perl5/push/refs/heads/blead/ecf14c-416ea0@github.com
  Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 416ea06b9fcd686a805c1090d6ceee022048d250
      https://github.com/Perl/perl5/commit/416ea06b9fcd686a805c1090d6ceee022048d250
  Author: Lukas Mai <lukasmai.403@gmail.com>
  Date:   2023-03-31 (Fri, 31 Mar 2023)

  Changed paths:
    M regexec.c

  Log Message:
  -----------
  regexec.c: fix warning about unused argument to capture_clear

Previously:

    regexec.c: In function ‘S_capture_clear’:
    regexec.c:373:72: warning: unused parameter ‘str’ [-Wunused-parameter]
      373 | S_capture_clear(pTHX_ regexp *rex, U16 from_ix, U16 to_ix, const char *str comma_pDEPTH) {
          |                                                            ~~~~~~~~~~~~^~~





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About