Skip to content

Remove unused-variable in ../xplat/compphoto/gpuEngine/tools/ToolHelpers.cpp +3#48052

Closed
r-barnes wants to merge 1 commit into
facebook:mainfrom
r-barnes:export-D66143498
Closed

Remove unused-variable in ../xplat/compphoto/gpuEngine/tools/ToolHelpers.cpp +3#48052
r-barnes wants to merge 1 commit into
facebook:mainfrom
r-barnes:export-D66143498

Conversation

@r-barnes
Copy link
Copy Markdown
Contributor

@r-barnes r-barnes commented Dec 2, 2024

Summary:
LLVM-15 has a warning -Wunused-variable which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.

This diff either (a) removes an unused variable and, possibly, it's associated code or (b) qualifies the variable with [[maybe_unused]].

#buildsonlynotests - Builds are sufficient

  • If you approve of this diff, please use the "Accept & Ship" button :-)

Reviewed By: wuyuoss

Differential Revision: D66143498

…ers.cpp +3

Summary:
LLVM-15 has a warning `-Wunused-variable` which we treat as an error because it's so often diagnostic of a code issue. Unused variables can compromise readability or, worse, performance.

This diff either (a) removes an unused variable and, possibly, it's associated code or (b) qualifies the variable with `[[maybe_unused]]`.

#buildsonlynotests - Builds are sufficient

 - If you approve of this diff, please use the "Accept & Ship" button :-)

Reviewed By: wuyuoss

Differential Revision: D66143498
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 2, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 071d223.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @r-barnes in 071d223

When will my fix make it into a release? | How to file a pick request?

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been reverted by 5e7eb9f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner Reverted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants