Skip to content

Remove unused variables #6303

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

Merged
merged 2 commits into from
Aug 22, 2024
Merged

Remove unused variables #6303

merged 2 commits into from
Aug 22, 2024

Conversation

cyyever
Copy link
Contributor

@cyyever cyyever commented Aug 19, 2024

Description

Remove some unused variables detected by static analyzer.

Motivation and Context

For better code.

@cyyever cyyever requested review from a team as code owners August 19, 2024 03:22
Signed-off-by: cyy <cyyever@outlook.com>
Copy link

codecov bot commented Aug 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.19%. Comparing base (83194ed) to head (e225995).
Report is 85 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6303      +/-   ##
==========================================
+ Coverage   56.95%   57.19%   +0.24%     
==========================================
  Files         506      507       +1     
  Lines       30467    31256     +789     
  Branches     4592     4663      +71     
==========================================
+ Hits        17353    17878     +525     
- Misses      12285    12531     +246     
- Partials      829      847      +18     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@justinchuby
Copy link
Member

Thanks!

@justinchuby justinchuby added the topic: better engineering Improve engineering quality of the project label Aug 20, 2024
@justinchuby justinchuby added this pull request to the merge queue Aug 20, 2024
@roborags roborags removed this pull request from the merge queue due to a manual request Aug 20, 2024
@justinchuby justinchuby added this pull request to the merge queue Aug 22, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 22, 2024
@justinchuby justinchuby added this pull request to the merge queue Aug 22, 2024
Merged via the queue into onnx:main with commit b7b0c76 Aug 22, 2024
39 checks passed
@cyyever cyyever deleted the unused_var branch August 23, 2024 00:53
roborags pushed a commit that referenced this pull request Aug 26, 2024
### Description
<!-- - Describe your changes. -->
Remove some unused variables detected by static analyzer.
### Motivation and Context
For better code.
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

Signed-off-by: cyy <cyyever@outlook.com>
andife pushed a commit to andife/onnx that referenced this pull request Aug 26, 2024
### Description
<!-- - Describe your changes. -->
Remove some unused variables detected by static analyzer.
### Motivation and Context
For better code.
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

Signed-off-by: cyy <cyyever@outlook.com>
Signed-off-by: Andreas Fehlner <fehlner@arcor.de>
roborags pushed a commit that referenced this pull request Aug 28, 2024
### Description
<!-- - Describe your changes. -->
Remove some unused variables detected by static analyzer.
### Motivation and Context
For better code.
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

Signed-off-by: cyy <cyyever@outlook.com>
roborags added a commit that referenced this pull request Aug 29, 2024
### Description
Cherry-Pick (#6303) - Remove unused variables into the `rel-1.17.0`
branch

### Motivation and Context
Cherry pick commit to `rel-17.0` branch to target 1.17 release

Signed-off-by: cyy <cyyever@outlook.com>
Co-authored-by: cyyever <cyyever@outlook.com>
linshokaku pushed a commit to linshokaku/onnx that referenced this pull request Oct 2, 2024
### Description
<!-- - Describe your changes. -->
Remove some unused variables detected by static analyzer.
### Motivation and Context
For better code.
<!-- - Why is this change required? What problem does it solve? -->
<!-- - If it fixes an open issue, please link to the issue here. -->

Signed-off-by: cyy <cyyever@outlook.com>
Signed-off-by: Linsho Kaku <linsho@preferred.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: better engineering Improve engineering quality of the project
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants