Skip to content

Commit 5af3b34

Browse files
authored
mark unused variable in partable way with no API changes (#550)
1 parent 02be04c commit 5af3b34

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dpnp/backend/kernels/dpnp_krnl_mathematical.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ class dpnp_cross_c_kernel;
8989
template <typename _DataType_input1, typename _DataType_input2, typename _DataType_output>
9090
void dpnp_cross_c(void* array1_in, void* array2_in, void* result1, size_t size)
9191
{
92+
(void)size; // avoid warning unused variable
9293
_DataType_input1* array1 = reinterpret_cast<_DataType_input1*>(array1_in);
9394
_DataType_input2* array2 = reinterpret_cast<_DataType_input2*>(array2_in);
9495
_DataType_output* result = reinterpret_cast<_DataType_output*>(result1);

0 commit comments

Comments
 (0)