]> rtime.felk.cvut.cz Git - hercules2020/kcf.git/commitdiff
Remove void statement
authorMichal Sojka <michal.sojka@cvut.cz>
Thu, 13 Sep 2018 22:53:17 +0000 (00:53 +0200)
committerMichal Sojka <michal.sojka@cvut.cz>
Fri, 14 Sep 2018 07:14:00 +0000 (09:14 +0200)
src/fft_cufft.cpp

index 7f4b3e7cc4ab787c8869b900dba435867209e29c..95a93f5cac27a396c4aa01ccf938c9582b5706c3 100644 (file)
@@ -114,8 +114,6 @@ void cuFFT::set_window(const cv::Mat &window)
 
 void cuFFT::forward(const cv::Mat &real_input, ComplexMat &complex_result, float *real_input_arr, cudaStream_t stream)
 {
-    (void)real_input;
-
     if (BIG_BATCH_MODE && real_input.rows == int(m_height * m_num_of_scales)) {
         CufftErrorCheck(cufftExecR2C(plan_f_all_scales, reinterpret_cast<cufftReal *>(real_input_arr),
                                      complex_result.get_p_data()));