Skip to content

Commit

Permalink
Fix unused variable warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dalg24 committed Jan 31, 2024
1 parent 0fb86cc commit 708f5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/Serial/Kokkos_Serial_ZeroMemset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ struct ZeroMemset<
Serial, DummyExecutionSpace>,
View<T, P...>> {
ZeroMemset(const Serial&, const View<T, P...>& dst,
typename View<T, P...>::const_value_type& value) {
typename View<T, P...>::const_value_type&) {
using ValueType = typename View<T, P...>::value_type;
std::memset(dst.data(), 0, sizeof(ValueType) * dst.size());
}
Expand Down

0 comments on commit 708f5eb

Please sign in to comment.