Skip to content

Commit

Permalink
add [[maybe_unused]]
Browse files Browse the repository at this point in the history
  • Loading branch information
seunghwak committed Oct 4, 2023
1 parent 827bfa4 commit d39a4d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ void per_v_transform_reduce_e(raft::handle_t const& handle,
using minor_tmp_buffer_type = std::conditional_t<GraphViewType::is_storage_transposed,
edge_src_property_t<GraphViewType, T>,
edge_dst_property_t<GraphViewType, T>>;
std::unique_ptr<minor_tmp_buffer_type> minor_tmp_buffer{};
[[maybe_unused]] std::unique_ptr<minor_tmp_buffer_type> minor_tmp_buffer{};
if constexpr (GraphViewType::is_multi_gpu && !update_major) {
minor_tmp_buffer = std::make_unique<minor_tmp_buffer_type>(handle, graph_view);
}
Expand Down

0 comments on commit d39a4d9

Please sign in to comment.