Fix some compilation errors and warnings.
This commit is contained in:
parent
77501f3ed0
commit
3fea2620e6
@ -1727,6 +1727,9 @@ static void convolve_run_fft(const oclMat &image, const oclMat &templ, oclMat &r
|
||||
|
||||
#else
|
||||
CV_Error(CV_StsNotImplemented, "OpenCL DFT is not implemented");
|
||||
#define UNUSED(x) (void)(x);
|
||||
UNUSED(image) UNUSED(templ) UNUSED(result) UNUSED(ccorr) UNUSED(buf)
|
||||
#undef UNUSED
|
||||
#endif
|
||||
}
|
||||
static void convolve_run(const oclMat &src, const oclMat &temp1, oclMat &dst, String kernelName, const char **kernelString)
|
||||
|
@ -112,6 +112,9 @@ namespace cv
|
||||
else
|
||||
return false;
|
||||
#else
|
||||
#define UNUSED(x) (void)(x);
|
||||
UNUSED(method) UNUSED(depth) UNUSED(size)
|
||||
#undef UNUSED
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user