Skip to content

Commit

Permalink
Fix compile warning in nested_json_gpu.cu (#11607)
Browse files Browse the repository at this point in the history
Fixes compile warning introduced in #11534 
```
/cudf/cpp/src/io/json/nested_json_gpu.cu(970): warning #177-D: variable "single_item_count" was declared but never referenced
```
Removed unreferenced variable declaration.

Authors:
  - David Wendt (https://github.com/davidwendt)

Approvers:
  - Nghia Truong (https://github.com/ttnghia)
  - Bradley Dice (https://github.com/bdice)

URL: #11607
  • Loading branch information
davidwendt authored Aug 26, 2022
1 parent 2e142cb commit 5f15ed4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cpp/src/io/json/nested_json_gpu.cu
Original file line number Diff line number Diff line change
Expand Up @@ -967,7 +967,6 @@ std::pair<rmm::device_uvector<PdaTokenT>, rmm::device_uvector<SymbolOffsetT>> ge
rmm::cuda_stream_view stream,
rmm::mr::device_memory_resource* mr)
{
constexpr std::size_t single_item_count = 1ULL;
rmm::device_uvector<PdaTokenT> tokens{json_in.size(), stream, mr};
rmm::device_uvector<SymbolOffsetT> tokens_indices{json_in.size(), stream, mr};
rmm::device_scalar<SymbolOffsetT> num_written_tokens{stream, mr};
Expand Down

0 comments on commit 5f15ed4

Please sign in to comment.