1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #24814 from cudawarped:fix_core_clang_warnings

core: fix clang warnings
This commit is contained in:
Alexander Smorkalov
2024-01-06 11:32:37 +03:00
committed by GitHub
@@ -99,7 +99,7 @@ namespace cv { namespace cuda
}
#if (CUDART_VERSION >= 12000)
template<class T> inline void createTextureObjectPitch2D(cudaTextureObject_t* tex, PtrStepSz<T>& img, const cudaTextureDesc& texDesc) {
template<class T> inline void createTextureObjectPitch2D(cudaTextureObject_t*, PtrStepSz<T>&, const cudaTextureDesc&) {
CV_Error(cv::Error::GpuNotSupported, "Function removed in CUDA SDK 12"); }
#else
//TODO: remove from OpenCV 5.x