Skip to content

Commit

Permalink
Remove unused-but-set variables in glow/glow/lib/Backends/Interpreter…
Browse files Browse the repository at this point in the history
…/InterpreterNodes.cpp +1

Reviewed By: palmje, dmm-fb

Differential Revision: D56887280
  • Loading branch information
r-barnes authored and facebook-github-bot committed May 4, 2024
1 parent d028b17 commit f74bff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Backends/Interpreter/InterpreterNodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6695,7 +6695,7 @@ void BoundInterpreterFunction::fwdIntNBitSplitEmbeddingWeightedBagsImpl(
const auto placement = weightsPlacementH.raw(t);
assert(placement != WeightsPlacement::DEVICE);
auto weightsH = uvmWeightsH;
auto maxWeightsBytes = maxUvmWeightsBytes;
[[maybe_unused]] auto maxWeightsBytes = maxUvmWeightsBytes;
if (placement == WeightsPlacement::HOST) {
weightsH = devWeightsH;
maxWeightsBytes = maxDevWeightsBytes;
Expand Down

0 comments on commit f74bff6

Please sign in to comment.