Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silence unused var warnings from Encode #147

Merged
merged 1 commit into from Feb 7, 2020
Merged

Commits on Feb 6, 2020

  1. Silence unused var warnings from Encode

    Fix issue Perl/perl5#17536 and
    dankogai#146 and
    dankogai#140 and
    dankogai#143
    
    Aliasing exposes the 'ix' variable. Since the code does not
    change behavior based on the alias (which is what aliases are for)
    the functions do not access the 'ix' variable, which throws
    warnings. Since Encode is core they need to be fixed.
    
    The correct solution to this is to declare the ix variable
    unused by using the PERL_UNUSED_VAR(ix); macro, which
    this patch does.
    demerphq committed Feb 6, 2020
    Configuration menu
    Copy the full SHA
    8b72508 View commit details
    Browse the repository at this point in the history