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 compiler warnings #238

Merged
merged 3 commits into from
Nov 15, 2023
Merged

Silence compiler warnings #238

merged 3 commits into from
Nov 15, 2023

Conversation

ydah
Copy link
Member

@ydah ydah commented Nov 14, 2023

Before

❯ bundle exec rspec                    
....................................................../var/folders/91/c1qqv7c94yz_cp1dz10bmwq00000gp/T/test.c:1179:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable]
    int yynerrs = 0;
        ^
1 warning generated.
....../var/folders/91/c1qqv7c94yz_cp1dz10bmwq00000gp/T/test.c:1208:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable]
    int yynerrs = 0;
        ^
1 warning generated.
./var/folders/91/c1qqv7c94yz_cp1dz10bmwq00000gp/T/test.c:1196:9: warning: variable 'yynerrs' set but not used [-Wunused-but-set-variable]
    int yynerrs = 0;
        ^
1 warning generated.
..........................................................................

Finished in 6.89 seconds (files took 0.51071 seconds to load)
135 examples, 0 failures

After

❯ bundle exec rspec
.......................................................................................................................................

Finished in 5.9 seconds (files took 0.39775 seconds to load)
135 examples, 0 failures

Coverage report generated for RSpec to /Users/yudai.takada/ydah/lrama/coverage. 2482 / 2608 LOC (95.17%) covered.

@yui-knk yui-knk merged commit 719669b into ruby:master Nov 15, 2023
@yui-knk
Copy link
Collaborator

yui-knk commented Nov 15, 2023

Thanks!

@ydah ydah deleted the silence branch November 15, 2023 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants