Skip to content

Commit

Permalink
fix(build): Remove unused variable from the function decodeArrayEleme…
Browse files Browse the repository at this point in the history
…nts (#11825)

Summary:
Pull Request resolved: #11825

Seeing the following error during build diff due to unused variable

```
Stdout: <empty>
Stderr:
fbcode/velox/functions/prestosql/ArrayIntersectExcept.cpp:143:8: error: unused variable 'decodedVector' [-Werror,-Wunused-variable]
  143 |   auto decodedVector = arrayDecoder.get();
      |        ^~~~~~~~~~~~~
1 error generated.
```

Reviewed By: mbasmanova

Differential Revision: D67071311

fbshipit-source-id: 1900968b2941684882c86e496b19f8ea9e0f8969
  • Loading branch information
Prasoon Telang authored and facebook-github-bot committed Dec 11, 2024
1 parent f6b9f22 commit b437950
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion velox/functions/prestosql/ArrayIntersectExcept.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ DecodedVector* decodeArrayElements(
exec::LocalDecodedVector& elementsDecoder,
const SelectivityVector& rows,
SelectivityVector* elementRows) {
auto decodedVector = arrayDecoder.get();
auto baseArrayVector = arrayDecoder->base()->as<ArrayVector>();

// Decode and acquire array elements vector.
Expand Down

0 comments on commit b437950

Please sign in to comment.