Skip to content

Remove Unused Variable indexScores from fbcode/pytorch/audio/src/libtorchaudio/forced_align/gpu/compute.cu #3915

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 1 commit into from
May 20, 2025

Conversation

wenxin0319
Copy link
Contributor

Summary:
From canary diff: D74892205

[2025-05-19T14:52:37.259-07:00] Stderr:
fbcode/pytorch/audio/src/libtorchaudio/forced_align/gpu/compute.cu:237:5: error: variable 'indexScores' set but not used [-Werror,-Wunused-but-set-variable]
  237 | int indexScores = 0;
      |     ^
1 error generated.

Eliminate the unused variable indexScores in fbcode/pytorch/audio/src/libtorchaudio/forced_align/gpu/compute.cu to resolve the -Wunused-but-set-variable warning.

Differential Revision: D75027221

…orchaudio/forced_align/gpu/compute.cu

Summary:
From canary diff: D74892205
```
[2025-05-19T14:52:37.259-07:00] Stderr:
fbcode/pytorch/audio/src/libtorchaudio/forced_align/gpu/compute.cu:237:5: error: variable 'indexScores' set but not used [-Werror,-Wunused-but-set-variable]
  237 | int indexScores = 0;
      |     ^
1 error generated.
```
Eliminate the unused variable indexScores in fbcode/pytorch/audio/src/libtorchaudio/forced_align/gpu/compute.cu to resolve the -Wunused-but-set-variable warning.

Differential Revision: D75027221
@wenxin0319 wenxin0319 requested a review from a team as a code owner May 20, 2025 17:19
Copy link

pytorch-bot bot commented May 20, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/audio/3915

Note: Links to docs will display an error until the docs builds have been completed.

❌ 9 New Failures, 4 Pending, 2 Unrelated Failures

As of commit 4b2a9c5 with merge base ea5de17 (image):

NEW FAILURES - The following jobs have failed:

BROKEN TRUNK - The following jobs failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D75027221

@facebook-github-bot facebook-github-bot merged commit 1a8f621 into pytorch:main May 20, 2025
42 of 55 checks passed
@wenxin0319 wenxin0319 deleted the export-D75027221 branch May 21, 2025 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants