From 19527d79d636789a92dc2649d0059edf23a06c52 Mon Sep 17 00:00:00 2001 From: cudawarped <12133430+cudawarped@users.noreply.github.com> Date: Tue, 2 Jan 2024 08:33:55 +0200 Subject: [PATCH] core: address clang warnings --- modules/core/include/opencv2/core/cuda/common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/include/opencv2/core/cuda/common.hpp b/modules/core/include/opencv2/core/cuda/common.hpp index 134809678d..1e1d5de1b0 100644 --- a/modules/core/include/opencv2/core/cuda/common.hpp +++ b/modules/core/include/opencv2/core/cuda/common.hpp @@ -99,7 +99,7 @@ namespace cv { namespace cuda } #if (CUDART_VERSION >= 12000) - template inline void createTextureObjectPitch2D(cudaTextureObject_t* tex, PtrStepSz& img, const cudaTextureDesc& texDesc) { + template inline void createTextureObjectPitch2D(cudaTextureObject_t*, PtrStepSz&, const cudaTextureDesc&) { CV_Error(cv::Error::GpuNotSupported, "Function removed in CUDA SDK 12"); } #else //TODO: remove from OpenCV 5.x